Git Product home page Git Product logo

btc-relayer's Introduction

BTC Relayer

简介

​ BTC Relayer是跨链生态中比特币网络与联盟链之间沟通的桥梁,负责将BTC的跨链交易转发到联盟链上,这是跨链的第一步。它的主要功能包括两部分,首先是监听比特币网络,将要跨链到其他链的BTC交易,转发到联盟链;然后是监听联盟链,将要转回比特币链的交易广播到比特币网络中。

使用

​ 在项目的cmd文件夹下,进行编译。

go build -o run_btc_relayer run.go 

​ 通过下列命令,启动relayer。

run_btc_relayer -conf-file=/path/to/conf.json -log-path=/path/to/log/ 

​ 当然配置conf.json需要自行填写

btc-relayer's People

Contributors

tanziwen avatar zouxyan avatar

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.