algorand-adapter适配了openwallet.AssetsAdapter接口,给应用提供了底层的区块链协议支持。
openwtester包下的测试用例已经集成了openwallet钱包体系,创建conf文件,新建ALGO.ini文件,编辑如下内容:
# algod service
ServerAPI = "http://127.0.0.1:8080"
ServerToken = ""
# FixFees use to estimate address have enough amount for tx fee
FixFees = 0.001
# ValidRounds limits valid rounds delay count
ValidRounds = 1000
# force address to retain the balance
AddressRetainAmount = 0.1