本项目适配了openwallet.AssetsAdapter接口,给应用提供了底层的区块链协议支持。
openwtester包下的测试用例已经集成了openwallet钱包体系,创建conf文件,新建KSM.ini文件,编辑如下内容:
# node api url
nodeAPI = "http://x.x.x.x:xxxxx"
# fixed Fee in smallest unit
fixedFee = 100000000
# reserve amount in smallest unit
reserveAmount = 0
# ignore reserve amount
ignoreReserve = true
# Cache data file directory, default = "", current directory: ./data
dataDir = ""
# Choose rpc or Ws
APIChoose = "rpc"
在线钱包
浏览器
https://polkascan.io/pre/kusama
接口文档
https://github.com/polkadot-js/apps
https://github.com/polkadot-js/common
https://github.com/paritytech/substrate-api-sidecar
公共API
https://github.com/paritytech/substrate-api-sidecar/
精度 : 12, 确认数 100 目前链上手续费0.011,推荐收取商户0.05(mxc:0.1) 汇总时,需要保留0.01作为余额