数字币开发相关

1.安装bitcoin core

2.打开bitcoin core时,会提示设置存储目录

如:d:\mybtc\data

3.在d:\mybtc\data下面,创建一个bitcoin.conf文件,内容如下(配置为测试环境):

rpcallowip=::/0表示允许所有ip访问rpc

server=1
testnet=1
rpcuser=123456
rpcpassword=abcdef
rpcallowip=127.0.0.1
rpcport=10002
txindex=1

BTC测试币领取地址:https://coinfaucet.eu/en/btc-testnet/

BTC测试区块查询地址:https://www.blocktrail.com/BTC

ETH(ropsten)测试币领取地址:http://faucet.ropsten.be:3001/

ETH(ropsten)测试区块查询地址:https://ropsten.etherscan.io/

btc json-rpc api : https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list#Full_list

omni-usdt json-rpc api:https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md#omni_getwalletbalances

eth api:  https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_newaccount

以太坊json-rpc文档:https://github.com/ethereum/wiki/wiki/JSON-RPC

以太坊ABI:https://solidity.readthedocs.io/en/develop/abi-spec.html

eos json-rpc: https://eos.readthedocs.io/zh_CN/latest/API/EOSIO-RPC/   https://blog.csdn.net/C_jian/article/details/86649498

TRON开发入门:https://blog.csdn.net/venus1100/article/details/84757739

TRON浏览器:https://tronscan.org/#/

TRON api:  https://github.com/tronprotocol/Documentation/blob/master/TRX/Tron-http.md    https://developers.tron.network/docs/trongridjs

TRON event api:  https://github.com/tronprotocol/Documentation/blob/master/English_Documentation/TRON_Event_Subscribe/tron-eventquery.md

TRON 合约列表:https://tronscan.org/#/contracts/contracts

trc20合约代码:https://github.com/ThisIsCodeXpert/CodeXpert-Tron-TRC20-Platform/blob/master/contracts/TRC20.sol

eth如果要使用personal_unlockAccount,需要在启动时加入 

--allow-insecure-unlock

BIP44的币种说明:https://github.com/satoshilabs/slips/blob/master/slip-0044.md

4.获取json-rpc帮助

在bitcoin core的安装目录daemon/里面,调用bitcoin-cli help 可以看到函数列表

 

posted @ 2019-10-30 17:47  IWing  阅读(404)  评论(0编辑  收藏  举报