Author

Topic: Invalid Bitcoin Address in testnet (Read 203 times)

newbie
Activity: 2
Merit: 0
March 13, 2018, 09:27:34 AM
#3
Yeah this works. Thanks.
When i generate new address i use command like this "getnewaddress "
So my request was look like "sendtoaddress
"
Why this not work?
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
March 13, 2018, 09:18:54 AM
#2
Did you get the syntax correct?

Try this:
Code:
sendtoaddress n1Ksts9eLrD13r3QTKmSyNoZbdjNgZMYhz 1.1

It would send 1.1tBTC to the stated address.
newbie
Activity: 2
Merit: 0
March 13, 2018, 09:00:18 AM
#1
Im newbie in blockchain and stuck with this error.
So.
- I have a bitcoind on server with testnet and rpc params configured.
- I have a RPC client (on php) that send commands to server (bitcoind) - this part works well.
- I generate new btc addres (in test net): mperdjxACE12BsugcJQnv8PkBFV8KvYF23 and one more n1Ksts9eLrD13r3QTKmSyNoZbdjNgZMYhz.
- On each i send 1.1 btc from faucet sendbox (thanks them).
- get ballance command by rpc shows valid ballance 1.1 btc
- Try to `sendtoaddress` "mperdjxACE12BsugcJQnv8PkBFV8KvYF23 => n1Ksts9eLrD13r3QTKmSyNoZbdjNgZMYhz" command by rpc and get "Invalid Bitcoin address"
Whats can be wrong?
Jump to: