Giter VIP home page Giter VIP logo

aero's Introduction

Aero

Sidechain framework used on Airbloc.
Currently supports Plasma Cash with non-fungible tokens (ERC721).

CURRENTLY UNDER DEVELOPMENT - NOT ELIGIBLE FOR PRODUCTION USE!

Design Principles

  • Plasma
  • Separation of Concerns : Avoid modifying the blockchain backend, and aim for being as layer.

Glossaries

  • Parent Chain : A parent chain that provides asset security to child chain.
  • Child Chain : A child chain or sidechain that the asset is pegged into the parent chain. The block headers of child chain is submitted (committed) to the parent chain regularly, and users can exit to the parent chain using the submitted data.
  • Plasma Block : A light block containing the transaction data of assets on the child chain.
  • Operator : Block producer of the child chain. Operator has a duty to commit the child chain blocks to the parent chain regularly.
  • Bridge Contract : Contracts on each chain, bridging the transfer between two chains.
  • Gateway Oracle : An (trustful) oracle that reports the other chain's information. (by Operator)
    • Aeroracle : Aero's gateway oracle.
  • Enter (Deposit) : Deposit the funds to the child chain.
  • Exit (Withdrawal) : Withdraw the funds from the child chain, however depending on root chain.

Components

  • aerod - Aero sidechain daemon, running PoA Ethereum network
  • operator - Standalone operator instance
  • contracts - Contracts and utilities for both the child and the parent chain.

Prerequisites

  • Go 1.9+
  • Node 10.0+
  • Yarn - Package manager for Node
  • Dep - Dependency manager for Go
  • Truffle - Contract deployment framework

Installation

Executable files will be generated under build/bin

make
cd contracts
yarn

Test

$ ./build/bin/aerod
$ node test/aero-coin-demo.js  # http://localhost:6672/

Current Status

  • General
    • PeggedERC721
    • PeggedERC20
    • Operator
    • SDK
  • Plasma Cash
    • ERC721 Deposit
    • ERC721 Exit
    • Challenge
  • Plasma Debit
    • ERC20 (Capped Payment) Deposit
    • ERC20 (Capped Payment) Exit
  • Misc
    • Demo Frontend

aero's People

Contributors

byeongsu-hong avatar therne 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.