0
I run a synced litecoind on amazon ec2 linux instance.
[ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoind -version
Litecoin Core Daemon version v0.13.2.1
[ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoin-cli getblockcount
1411130
I tried starting daemon with below commands
- litecoind -testnet -daemon
- litecoind -daemon , then litecoind -testnet
I want to get litecoin testnet address to test sending LTCT. But when I generate address i get litecoin address. How can I use this core to switch between main net and testnet ?
UPDATE
[ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoind --testnet --daemon
Litecoin server starting
[ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoin-cli getnewaddress
error: couldn't connect to server
top command shows litecoind running.
5787 ec2-user 20 0 786m 26m 288 S 1.0 2.6 0:00.63 litecoind
Is it okay if i kill the daemon ??
Please Help!
How will I generate address ? litecoin-cli getnewaddress gave a "Lfq6zA5aTkRNPyBTUAPcevazpupvfkUXnK" – SMJ – 2018-04-27T12:29:58.003
How to check if this is LTCT address ? – SMJ – 2018-04-27T12:30:31.580
LTC testnet address should start with an n or m... so that is not a testnet LTC address – Fuzzybear – 2018-04-27T13:17:53.463
Can I generate testnet address with litecoin-cli getnewaddress command ? – SMJ – 2018-04-27T13:19:38.303
yup few instructions are here you might find useful https://www.coinpayments.net/help-testnet
– Fuzzybear – 2018-04-27T13:22:31.197I actually I wanted to send some LTCT from coinpayments to my core and check whether it goes – SMJ – 2018-04-27T13:24:12.630
can u try 'litecoin-cli getnewaddress -testnet' and see what that gives... I believe you will need to specify the testnet on each command – Fuzzybear – 2018-04-27T13:30:42.767
I still get address starting with L – SMJ – 2018-04-27T13:34:00.763
Hmm yeh you are def not on the testnet :( try stopping the daemon.. and restarting with the testnet command – Fuzzybear – 2018-04-27T13:36:10.877