代码拉取完成,页面将自动刷新
同步操作将从 coin-exchange-all/Exchange-Listing-Guide 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
检查日期: 2020.03.16
https://github.com/neo-project/neo-cli/releases
1、解压缩文件
unzip neo-cli-linux-x64.zip
mv neo-cli-linux-x64 neo
2、启动节点
dotnet neo-cli.dll --rpc --log
vi /程序目录/config.json
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "/数据目录/Chain_{0}",
"Index": "/数据目录/Index_{0}",
"ApplicationLogs": "/数据目录/ApplicationLogs_{0}"
},
"P2P": {
"Port": 10333,
"WsPort": 10334
},
"RPC": {
"BindAddress": "127.0.0.1",
"Port": 10332,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "/钱包目录/钱包.json",
"Password": "钱包密码",
"StartConsensus": false,
"IsActive": true
},
"PluginURL": "https://github.com/neo-project/neo-plugins/releases/download/v{1}/{0}.zip"
}
}
vi /程序目录/Plugins/ApplicationLogs/config.json
{
"PluginConfiguration": {
"Path": "/数据目录/ApplicationLogs_{0}"
}
}
1、下载最新的版本
2、重命名旧版本的程序目录以做备份
3、解压缩新的压缩包并改名为neo
4、复制config.json文件、Plugins目录至新版neo程序目录
5、重启节点程序
1、创建地址
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getnewaddress","params":[]}'
2、获取私钥
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"dumpprivkey","params":["地址"]}'
1、获取最新的区块高度
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getblockcount","params":[]}'
2、根据区块Hash获取交易列表
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getblock","params":[区块高度,1]}'
3、根据TxId获取具体信息
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"getrawtransaction","params":["交易TxId",1]}'
curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:10332/ \
-d '{"jsonrpc":"2.0","id":"随便写","method":"sendmany","params":[{"asset":"币种Hex","value":提币金额,"address":"收款地址"},0,"找零地址"]}'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。