go run main.go
Name:
mynode
version:1.1.1
Commands:
initNode [path] 初始化节点
startNode [path] 开始运行节点
createWallet [path] 创建钱包
listAddressAndBalance [path] 列出钱包地址和余额
genesisBlock [path] 创建最初的区块
send [path][amount][to][amount] 转账
addPeer [node] 添加节点
showpeers [path] 查看所有连接节点
Name:
mynode
version:1.1.1
Commands:
initNode [path] 初始化节点
startNode [path] 开始运行节点
createWallet [path] 创建钱包
listAddressAndBalance [path] 列出钱包地址和余额
genesisBlock [path] 创建最初的区块
send [path][amount][to][amount] 转账
addPeer [node] 添加节点
showpeers [path] 查看所有连接节点