github.com/blocktree/bsc-adapter


License
GPL-3.0
Install
go get github.com/blocktree/bsc-adapter

Documentation

bsc-adapter

本项目适配了openwallet.AssetsAdapter接口,给应用提供了底层的区块链协议支持。

如何测试

openwtester包下的测试用例已经集成了openwallet钱包体系,创建conf文件,新建BSC.ini文件,编辑如下内容:

#wallet api url
ServerAPI = "http://127.0.0.1:10001"

# fix gas limit
fixGasLimit = ""

# Cache data file directory, default = "", current directory: ./data
dataDir = ""