Hi,
I am a newbie to Nano and am trying to setup a Nano node for testing purpose. I followed this guide:
What I get: I am getting 0 balance to the initial wallet from genesis private key.
Expected result: Wallet has balance so I can start developing using the test network
These are my steps:
- docker pull nanocurrency/nano-test:V23.0
- docker run --restart=unless-stopped -d -p 17075:17075 -p 127.0.0.1:17076:17076 -p 127.0.0.1:17078:17078 -v root:/root --name nano-test nanocurrency/nano-test:V23.0
to start fresh - stop the container, change enable_control = true in config-rpc.toml
- curl -d "{"action":"block_count"}" http**://127.0.0.1:17076
^ this doesn't return "count": 1, but count is 21446 - curl -d "{"action":"wallet_create"}" http**://127.0.0.1:17076
- using the private key from the github source code, call wallet_add
curl -d "{"action":"wallet_add","wallet":"","key":"34F9CE4"}" http**://127.0.0.1:17076 - curl -d "{"action":"wallet_balance_total","wallet":"*"}" http://127.0.0.1:17076
{
"balance": "0",
"pending": "0",
"receivable": "0",
"accounts_count": "1",
"accounts_block_count": "0",
"accounts_cemented_block_count": "0",
"deterministic_count": "0",
"adhoc_count": "1",
"deterministic_index": "0"
}
I was expecting there is balance here so I can start creating another account / wallet and start testing.
Thanks.
Regards,
Kok Hoor