数字币开发相关

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 @   IWing  阅读(431)  评论(0编辑  收藏  举报
编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
点击右上角即可分享
微信分享提示