Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.83 KB

DASH - Dash.md

File metadata and controls

70 lines (52 loc) · 1.83 KB

Dash - DASH

文档版本:0.15.0.0

检查日期: 2020.03.16

官网地址:

https://www.dash.org/

钱包下载:

https://www.dash.org/downloads/

查询网站:

https://explorer.dash.org/chain/Dash

开发文档

  • 同 BTC - Bitcoin

安装说明:

  • 同 BTC - Bitcoin (文件名不同)

配置文件:

  • 同 BTC - Bitcoin

升级说明:

  • 同 BTC - Bitcoin

创建地址:

  • 同 BTC - Bitcoin

追踪入账:

  • 同 BTC - Bitcoin

对外提币:

1、估算当前费用

curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:8332/ -u RPC用户:RPC密码 \
-d '{"jsonrpc":"1.0","id":"随便写","method":"estimatesmartfee","params":[期望多少个区块内到达]}'  

2、创建RAW交易

curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:8332/ -u RPC用户:RPC密码 \
-d '{"jsonrpc":"1.0","id":"随便写","method":"createrawtransaction","params":[[{"txid":"输出的Txid","vout":输出的Tx的序号}],[{"接收地址":接收金额}]}'  

3、导入私钥(如果私钥已在节点上,可跳过)

curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:8332/ -u RPC用户:RPC密码 \
-d '{"jsonrpc":"1.0","id":"随便写","method":"importprivkey","params":["私钥密文","标签(可留空)",false]}'  

4、签名RAW交易

curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:8332/ -u RPC用户:RPC密码 \
-d '{"jsonrpc":"1.0","id":"随便写","method":"signrawtransaction","params":["创建RAW返回的Hex"]}'  

5、发送RAW交易

curl -X POST -H 'content-type: text/plain;' http://127.0.0.1:8332/ -u RPC用户:RPC密码 \
-d '{"jsonrpc":"1.0","id":"随便写","method":"sendrawtransaction","params":["完成签名的Hex"]}'  

归集处理:

  • 同 BTC - Bitcoin

灾难恢复:

  • 同 BTC - Bitcoin

注意事项: