Git Product home page Git Product logo

autonomoussidechains's Introduction

AutonomousSidechains

This project has been developed under research we conducted to solve scalability trilemma of blockchain.
Basically we implemented our own implemenation of plasma framework.
We wrote research paper for the same, will upload it once its published.

Demos

Version 1.0 Dashboard Version 2.0 Testing Script

Abstract

Blockchain is one of the most promising technologies of the future. But till date, it is mostly used for transactions that involve mostly cryptocurrencies. To expand the scope of blockchain beyond cryptocurrency, it is really important to rethink the structure of existing blockchain architecture. One of the major factors which hold blockchain back from being a option to host real-world applications is its lack of Scalability. This paper presents the solution to scale blockchain using the concept of Autonomous Sidechains based on the Plasma framework. Instead of forcing the implementation of all transactions to the mainchain, we propose to create a new sidechain for every decentralized application. The sidechains created are autonomous with respect to each other, with mainchain acting as a backbone of the entire network. This concept increases the scalability of the blockchain by increasing the number of transactions network can process at a time.

How to run

Install the required libraries:

npm install

Run the server:

npm run beta

Open browser go to localhost:3000

New Instance on same machine

If you want to open it on differnt port set port="port" and then npm run beta

Structure

  • base : base modules like account,block..
  • bin : www
  • public : css,js, channel keys
  • routes
    • index.js:homepage,
    • r-mainchain : handles req of main,
    • r-sidechain : handles req of sidechain
  • views : .pug files (html templates) 2min Read : How pug works
  • app.js : start server

Currently for sidechain channel I have kept it constant for testing purpose. you can change this in r-sidechain

What is Plasma? Introduction

autonomoussidechains's People

Contributors

0xcuriousapple avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

siiidd1998

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.