ontology-adapter

module
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: GPL-3.0

README

ontology-adapter

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

如何测试

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



# restful api url
restfulServerAPI = "http://ip:port"

# gasLimit 
gasLimit = 20000

# gas price type 0: fixed   1: get from node
gasPriceType = 0

# fixexd  gas price value
gasPriceFixed = 500

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

Tips

合约为"0200000000000000000000000000000000000000",转账金额指定为0时,可以提取对应地址上未解绑的ong

Directories

Path Synopsis
* Copyright 2018 The openwallet Authors * This file is part of the openwallet library.
* Copyright 2018 The openwallet Authors * This file is part of the openwallet library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL