GithubHelp home page GithubHelp logo

boxproject / companion Goto Github PK

View Code? Open in Web Editor NEW
27.0 9.0 4.0 70 KB

communicate between private blockchain and business server

Home Page: https://box.la

License: Apache License 2.0

Makefile 0.36% Go 99.64%
golang blockchain-service security-tools business-service ethereum-client

companion's Introduction

Companion

本程序主要用途有三个:

  1. 与代理服务通信 2、多个节点一定比例(例如2/3,3个审核节点中2个节点)确认,才认可本次提交的数据正确性。
  2. 监控以太坊私链event log,确认审批流操作,以及转账审批等

使用步骤:

  1. 初始化。创建好oracle、sink智能合约。
  2. 准备好合约授权人的keystore,并向其中充值一定以太用以支付创建合约的费用。
  3. 分别对每个节点授权人进行授权(对oracle智能合约进行操作)
  4. 用本程序加密keystore密码,将第一步和本步骤产生的输出写入到config.json配置文件中对应的参数中。注意配置文件中保存的是加密过后的keystore密码!系统启动时会要求操作者输入密码来解密keystore密码!
  5. 将连接代理的地址、端口以及ssl公钥以及证书
  6. 启动本程序。

命令行用法:

➜ ./companion help
NAME:
   Blockchain companion - The blockchain companion command line interface

USAGE:
   companion [global options] command [command options] [arguments...]

VERSION:
   dev-20180424

DESCRIPTION:
   companion handler

AUTHOR:
   box Group <[email protected]>

COMMANDS:
     start        start the manager
     stop         stop the manager
     help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

COPYRIGHT:
   Copyright 2017-2018 The box Authors

功能说明:

* 故障恢复

* 根据配置设定出块数据确认,以防止因分叉导致确认数目出错。

* 审批流创建及确认监控

* 转账审批监控

companion's People

Contributors

alphaqiu avatar eifrigmn avatar fat-wong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.