Git Product home page Git Product logo

stargate's Introduction

Stargate


License

Stargate is the layer2 state channel protocol and implements of Starcoin.

The goal of Stargate is to provide a second layer for Starcoin, that can execute smart contract on state channel, and the state of smart contract can be seamlessly transferred between chain and offchain channel.

Note that the Starcoin's chain code has not been released yet, we just use Libra to mock it.

Features

  1. Execute Move contract on state channel.
  2. Seamlessly state transfer between chain and offchain.
  3. Layer2 delegate node supports user security to delegate its own Layer2 message to a node without having to keep its own node always online.
  4. Layer2 generic message deliver (For Layer2 DApp deliver message).
  5. Offchain state can be compressed by proof(Merkle Proof or ZK Proof).

Note that features including already implemented and planned implementation.

Architecture

TODO

Note to Developers

  • Stargate is a prototype implement.
  • Project is under heavy development, not production ready.

Getting Started

Getting Started

Development

You can use cargo directly. Or if you want docker, there is Dockerfile which install the necessary requirements, and you can just mount the code, and run cargo in a linux docker container.

> docker build -t stargate-base -f docker/build.Dockerfile ./docker
> ./docker-run.sh cargo build

License

Stargate is licensed as Apache 2.0.

stargate's People

Contributors

fanngyuan avatar jolestar avatar tiangong3624749 avatar nanne007 avatar sanlee42 avatar ssyuan avatar guangyuz avatar

Watchers

James Cloos 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.