Giter Club home page Giter Club logo

bitcoin-adapter's Introduction

bitcoin-adapter

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

项目依赖库

如何测试

openwtester包下的测试用例已经集成了openwallet钱包体系,创建conf文件,新建BTC.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
# Omni Core RPC API
omniCoreAPI = "http://127.0.0.1:10016"
# Omni Core RPC Authentication Username
omniRPCUser = "user"
# Omni Core RPC Authentication Password
omniRPCPassword = "password"
# Omni token transfer minimum cost
omniTransferCost = "0.00000546"
# support omnicore
omniSupport = true
# support segWit
supportSegWit = true
# minimum transaction fees
minFees = "0.00001"
# Cache data file directory, default = "", current directory: ./data
dataDir = ""

bitcoin-adapter's People

Contributors

fanyinghao avatar zhiquan911 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bitcoin-adapter's Issues

test omni token summary with error

tag:v1.2.13
i try the openwtester with error :
transaction is not completed validation

track the code ,after testVerifyTransactionStep . rawtx.IsCompleted remain false

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.