https://github.com/0xcuriousapple/autonomoussidechainsbasic
Sidechains can be thought of as independent blockchains that have a very specific purpose, function independently of the main chain or other sidechains, and provide for a scalable solution for the decentralized applications of tomorrow. A sidechain is effectively a local road parallel to a highway. Perhaps this local road has several more intersections, stop signs, and traffic moving in different directions. If these intersections and stop signs were put on the highway, things would inevitably slow to a full-blown traffic jam. By appending local roads parallel to the highway, it allows specific traffic to exit and arrive at desired locations at specific times, which keeps the grand highway of the main chain uncongested.
https://github.com/0xcuriousapple/autonomoussidechainsbasic
plasma sidechain
Last synced: 5 months ago
JSON representation
Sidechains can be thought of as independent blockchains that have a very specific purpose, function independently of the main chain or other sidechains, and provide for a scalable solution for the decentralized applications of tomorrow. A sidechain is effectively a local road parallel to a highway. Perhaps this local road has several more intersections, stop signs, and traffic moving in different directions. If these intersections and stop signs were put on the highway, things would inevitably slow to a full-blown traffic jam. By appending local roads parallel to the highway, it allows specific traffic to exit and arrive at desired locations at specific times, which keeps the grand highway of the main chain uncongested.
- Host: GitHub
- URL: https://github.com/0xcuriousapple/autonomoussidechainsbasic
- Owner: 0xcuriousapple
- Created: 2020-04-24T12:37:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:16:55.000Z (almost 3 years ago)
- Last Synced: 2024-12-27T17:15:46.868Z (about 1 year ago)
- Topics: plasma, sidechain
- Language: JavaScript
- Homepage:
- Size: 5.43 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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) -[short intro of how pug works] https://freshman.tech/learn-node/
* app.js : start server
Currently for sidechain channel I have kept it constanr for testing purpose, no matter what you pass.
you can change this in r-sidechain
## What are sidechains
# AutonomousSidechains
Sidechains can be thought of as independent blockchains that have a very specific purpose, function independently of the main chain or other sidechains, and provide for a scalable solution for the decentralized applications of tomorrow. A sidechain is effectively a local road parallel to a highway. Perhaps this local road has several more intersections, stop signs, and traffic moving in different directions. If these intersections and stop signs were put on the highway, things would inevitably slow to a full-blown traffic jam. By appending local roads parallel to the highway, it allows specific traffic to exit and arrive at desired locations at specific times, which keeps the grand highway of the main chain uncongested.