输入命令:
curl localhost:1635/chequebook/cheque | jq
输入命令:
curl -s http://localhost:1635/peers | jq '.peers | length'
输入命令:
curl -X GET http://localhost:1635/topology | jq
输入命令:
curl http://localhost:1633
输入命令:
curl localhost:1635/chequebook/balance | jq
输入命令:
curl localhost:1635/balances | jq
下载兑现支票脚本
输入命令:
wget -O cashout.sh https://gist.githubusercontent.com/ralphpichler/3b5ccd7a5c5cd0500e6428752b37e975/raw/7ba05095e0836735f4a648 aefe52c584e18e065f/cashout.sh
赋予执行权限
输入命令:
chmod a+x cashout.sh
输入命令:
./cashout.sh
兑换支票
./cashout.sh cashout-all 5