ilcoin-adapter

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

README

ilcoin-adapter

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

项目依赖库

如何测试

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


# RPC Server Type,0: CoreWallet RPC; 1: Explorer API
rpcServerType = 1
# node api url, if RPC Server Type = 0, use ilcoin core full node
;serverAPI = "http://127.0.0.1:8333/"
# node api url, if RPC Server Type = 1, use bitbay insight-api
serverAPI = "https://ilcoinexplorer.com/api/"
# RPC Authentication Username
rpcUser = "user"
# RPC Authentication Password
rpcPassword = "password"
# Is network test?
isTestNet = false
# support omnicore
omniSupport = false
# Omni Core RPC API
omniCoreAPI = "http://ip:port"
# Omni Core RPC Authentication Username
omniRPCUser = "user"
# Omni Core RPC Authentication Password
omniRPCPassword = "password"
# Omni token transfer minimum cost
omniTransferCost = "0.00000546"
# support segWit
supportSegWit = false
# minimum transaction fees
minFees = "0.00001"
# Cache data file directory, default = "", current directory: ./data
dataDir = ""

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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