About the Ask the Developer category


#1

We are introducing an ‘Ask the Developer Q & A’ whereby people can ask questions no matter how big or small.

Post your questions here and we’ll choose the best ones to feature on our monthly newsletter (anonymously of course!)


#2

Hello,
Kindly try to help me.Please go through the following steps in order to understand my query
Hi,
My getinfo returns for testnet in my local machine
#####################################
./bitbayd -testnet getinfo
{
“version” : “v2.0.0.0-g32a928e”,
“protocolversion” : 60016,
“walletversion” : 60000,
“balance” : 0.00000000,
“newmint” : 0.00000000,
“stake” : 0.00000000,
“blocks” : 0,
“timeoffset” : 0,
“moneysupply” : 0.00000000,
“connections” : 0,
“proxy” : “”,
“ip” : “0.0.0.0”,
“difficulty” : {
“proof-of-work” : 0.00001526,
“proof-of-stake” : 0.00001526
},
“testnet” : true,
“keypoololdest” : 1526974556,
“keypoolsize” : 101,
“paytxfee” : 0.00010000,
“mininput” : 0.00000000,
“errors” : “”
}
Now I have executed the below command
###############################
./bitbayd -testnet getnewaddress

This command returns the new address “mj8CTgGPGHjab1iUipb7f2HS61KiiUQgK4”

Now I am executing the below command for sending amount to the address

./bitbayd -testnet sendtoaddress “mj8CTgGPGHjab1iUipb7f2HS61KiiUQgK4” 1000.15

It gives me the following response

error: {“code”:-4,“message”:“Insufficient funds”}

I just want some balance to “mj8CTgGPGHjab1iUipb7f2HS61KiiUQgK4” address

Please help.