litecoin-adapter

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

README

litecoin-adapter

litecoin-adapter继承了bitcoin-adapter,主要修改了如下内容:

  • 重写了Symbol = "LTC"。
  • 重写了addressDecoder,实现了LTC地址编码。

项目依赖库

如何测试

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


# RPC Server Type,0: CoreWallet RPC; 1: Explorer API
rpcServerType = 1
# node api url, if RPC Server Type = 0, use bitcoin core full node
;serverAPI = "http://127.0.0.1:8333/"
# node api url, if RPC Server Type = 1, use bitbay insight-api
serverAPI = "http://127.0.0.1::20003/insight-api/"
# RPC Authentication Username
rpcUser = "user"
# RPC Authentication Password
rpcPassword = "password"
# Is network test?
isTestNet = true

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