Skip to content

Mainstream blockchain transfer and query js interface 主流区块链转账(普通代币和与ERC20通用的合约代币)和查询接口

License

Notifications You must be signed in to change notification settings

mhxw/crypto-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto-SDK

中文 | English

Crypto-SDK是针对主流区块链的转账(支持普通原生代币和合约代币,例如BNB、BHP上的合约代币)和查询的js工具。


安装

  • 克隆此项目
git clone https://github.com/mhxw/crypto-sdk.git
  • 安装依赖
yarn install

案例

网络使用以太坊Kovan测试网,USDT代币转账作为案例。你可以在 Kovan水龙头 或者 gitter 上领取ETH测试币。

  • 启动app
node app.js

API

  • 查询余额
curl http://localhost:8082/getBalance?account=0x01f933904539fe8662c48392ee31c0afcf98758e

License

Crypto-SDK is licensed under Apache 2.0

About

Mainstream blockchain transfer and query js interface 主流区块链转账(普通代币和与ERC20通用的合约代币)和查询接口

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published