本项目适配了openwallet.AssetsAdapter接口,给应用提供了底层的区块链协议支持。
openwtester包下的测试用例已经集成了openwallet钱包体系,创建conf文件,新建TRX.ini文件,编辑如下内容:
# restful api url
ServerAPI = "http://127.0.0.1:18090"
# Is network test?
isTestNet = false
# feeLimit, the maximum energy is 1000000000
feeLimit = 10000000
# Cache data file directory, default = "", current directory: ./data
dataDir = ""