- Pull repository
docker pull ety001/docker-zcc-cli
- To test
docker -it --rm --net="host" ety001/docker-zcc-cli --help
- Create the .zccoin folder
- Add a configuration
echo "server=1
rpcuser=YOUR_USER_NAME
rpcpassword=YOUR_PASSWORD" > /root/.zccoin/zccoin.conf
- Run the wallet
docker run -it --rm --net="host" -v /root/.zccoin:/root/.zccoin ety001/docker-zcc-cli
- To test the RPC
curl -u YOUR_USER_NAME --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:12210/