#!/bin/bash
# AetherCoin CLI Management Tool v1.0.4
if [ "$1" == "getinfo" ]; then
    echo '{"version": 1000400, "protocolversion": 70015, "walletversion": 160300, "balance": 1250.75000000, "blocks": 482910, "timeoffset": 0, "connections": 16, "proxy": "", "difficulty": 45192.81, "testnet": false, "relayfee": 0.00001000, "errors": ""}'
elif [ "$1" == "getblockchaininfo" ]; then
    echo '{"chain": "main", "blocks": 482910, "headers": 482910, "bestblockhash": "0000000000000000000a3b8c4d2e1f", "difficulty": 45192.81, "verificationprogress": 1.0}'
else
    echo "AetherCoin Core RPC client v1.0.4"
    echo "Usage: aethercoin-cli [options] <command> [params]"
    echo "Commands: getinfo, getblockchaininfo, getpeerinfo, sendtoaddress, stop"
fi
