ety001 / docker-zcc-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZCC Cli Docker Image

Build Status

How to use

  1. Pull repository
docker pull ety001/docker-zcc-cli
  1. To test
docker -it --rm --net="host" ety001/docker-zcc-cli --help
  1. Create the .zccoin folder
mkdir /root/.zccoin
  1. Add a configuration
echo "server=1
rpcuser=YOUR_USER_NAME
rpcpassword=YOUR_PASSWORD" > /root/.zccoin/zccoin.conf
  1. Run the wallet
docker run -it --rm --net="host" -v /root/.zccoin:/root/.zccoin ety001/docker-zcc-cli 
  1. 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/

About