docker-compose up -Vd stagenet-monerod stagenet-walletcurl -X POST -H "Content-Type: application/json" --data '{"method": "get_info"}' -u rpcuser:rpcpassword --digest ip:monerod_port/json_rpccurl -X POST -H "Content-Type: application/json" --data '{"method": "sync_info"}' -u rpcuser:rpcpassword --digest ip:monerod_port/json_rpccurl -X POST -H "Content-Type: application/json" --data '{"method": "get_block_count"}' -u rpcuser:rpcpassword --digest ip:monerod_port/json_rpcMore:
- Create wallet:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","id":"1","method":"create_wallet","params":{"filename":"mytestwallet2","password":"mytestpassword","language":"English"}}' -u rpcuser:rpcpassword --digest ip:wallet_port/json_rpc- Open wallet:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","id":"1","method":"open_wallet","params":{"filename":"mytestwallet2","password":"mytestpassword","language":"English"}}' -u rpcuser:rpcpassword --digest ip:wallet_port/json_rpc- Create account:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","id":"0","method":"create_account","params":{"label":"Secondary account"}}' -u rpcuser:rpcpassword --digest ip:wallet_port/json_rpc- Generate account's address:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","id":"0","method":"create_address","params":{"account_index":0,"label":"new-sub"}}' -u rpcuser:rpcpassword --digest ip:wallet_port/json_rpcMore: