Giter VIP home page Giter VIP logo

waltonchain_crosschain's Introduction

WaltonChain CrossChain

Description

This system is a part of the Waltonchain Cross-chain Project. It realizes endorsement of child chain data to the parent chain. In this system, the ecosystem’s JMN (Judge Master Nodes) and SMN (Super Master Nodes) perform management through voting.

  • The reward transferred by the child chain owner to the corresponding endorsement contract serves as the endorsement reward
  • SMN can endorse child chain data to the parent chain through the SMN System and get the endorsement reward
  • JMN manage JMN, SMN and endorsement contract templates
  • SMN can add child chains and child chain endorsements

Services

  • Gwtc node: blockchain node
  • SMN System: Endorsement operations can be carried out in this system and corresponding rewards can be obtained.
  • Management System: permission management (including JMN, SMN management), endorsement contract template management, child chain management, endorsement management
  • Data Verification System: verification of the endorsed data

Vote Rules

Note: In case of multiple votes, more than half equals passed.

  • Permission Management
    • JMN
      • Add: Initiated by a JMN, all JMNs vote
      • Delete: Initiated by a JMN, all JMNs vote (if only one JMN is left, it cannot be deleted)
    • SMN
      • Add: Initiated by a JMN or SMN, all SMNs vote in the first round. If passed, any JMN's vote is required for the final pass decision.
      • Delete: Initiated by a JMN or SMN, all SMNs vote in the first round. If passed, any JMN's vote is required to pass the final pass decision.
  • Template Management
    • Add: Initiated by a JMN or SMN, all SMNs vote in the first round. If the vote passed, then any JMN's vote is required for the final pass decision.
  • Child Chain Management
    • Add: Initiated by a SMN, all SMNs vote
  • Endorsement Management
    • Add: Initiated by a SMN, all SMNs vote

Installation Environment

Configuration Files

  • docker-compose-smn.yml: includes gwtc node, SMN System
  • docker-compose-manage.yml: includes gwtc node, Management System, Data Verification System
  • docker-compose-all.yml: includes gwtc node, SMN System, Management System, Data Verification System

Deployment

  • Download configuration files
  • For docker-compose-smn.yml or docker-compose-all.yml, please change the configuration items of the configuration file: change "MONGO_NON_ROOT_USERNAME" and "MONGO_USERNAME" to the database user name of your choice, change "MONGO_NON_ROOT_PASSWORD" and "MONGO_PASSWORD" to the database password of your choice, save the changes. (Note: there is a space after ":" in all configuration items)
  • In the directory of the same level with the configuration files, use the command: docker-compose -f [configuration file name] up -d

Default configuration: SMN service port 80, Management System service port 8880, Data Verification System service port 8881.

Operation

waltonchain_crosschain's People

Contributors

ko12ko avatar slklubaoding avatar disy-yin avatar

Watchers

 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.