Blockchain suffers from scalability issues and here comes Layer 2 solutions. To know what are layer 2 solutions? Please check the intro here!
Here are two main parts of this repo.
- As you know Layer 2 solutions have adopted as scaling solutions, and more and more teams around the world are working on it. Click here to check their solutions.
- about state channel
- about sidechain
- about off chain computation
[All about layer 2](https://github.com/Awesome-Layer-2/Awesome-Layer-2/blob/master/README.md#all-about-layer-2)
- Besides those projects, there are many articles and videos concerning generalized content about Layer 2, like layer 2 design principles, layer 2 ecomomics and so on. Click here to know more about it.
Any other ideas about the Awesome Layer 2, or want to contribute ? Welcome to join us, let's embrace the future of Layer 2 together!
Introductions of layer 2 solutions: why we need layer 2 instead of a single blockchain.
Blockchain technology is facing a trilemma, i.e. from decentralization, security and scalability. Only two of the three features could be obtained in a single blockchain. At the heart of the scaling problem is a tradeoff between "large user-base " and "large set of validators".
Public blockchains need all the validators reach consensus, to ensure decentralization and security, which leads to the problem: the throughput of the whole blockchain is equal to a single validator. Fundamentally, blockchains just don’t scale.
Now there are three scalability technologies are on their way:
- Each validator processes more transactions and improve the throughput of the blockchain, by introducing optimized blockchain protocols.(i.e DAG, Hashgraph, Avalance, etc).
- By using sharding technology, each shard process it's own transaction.
- Layer 2 solutions, which will move most of the work off chian. These will be the main topic of this repo.
For the first solutions, by optimizing the blockchain protocols, then only computer with better processing power can act as validator. For those home - use computers, they even can't download transaction if the throughput reach 5000 transactions per second. And storage comes to be a problem afterward.
As for Sharding, it's not mature yet. There are different issues concerning 4 level of sharding: from the computation level, network level, storage level and consensus level. These issues are also cross shard problem like train and hotel problem, those problems are not solved yet.
Off chain scaling solutions are mature technologies for scaling blockchain.It was first introduced by Lighting Network in 2016. From our perspective, public blockchain is so far the most efficient way to reach global consensus, but it is also the slowest database as well. Thus we should let blockchain do what they should do, i.e. ensure security and decentralization. Other features like scalability, privacy and so on could be done through off chain scaling solutions, to fit the demand of different industries and applications.
Here are two main considerations behind off chain scaling solutions:
1. Not every thing needs to reach a global consensus.
2. Public blockchain should just do what they should, to guarantee public verifibility.
Nowadays, there are several branches of off chain scaling solutions:
We will introduce them one by one in the future.If you have anything to add here, know how to contribute
In this repo, we use “Layer 2” to refer off chain scaling solutions. The public blockchain which guarantees the security and decentralization of the network is called "Layer 1", these names are already reach consensus inside the industry.
We boldly predict that in the future there will be variety of Layer 2 developers, they will come up with their Layer 2 solutions according to real world demand and their understanding of the technology.
This repo is designed for the future of Layer 2.
All the layer 2 projects is here, click the project and you will jump to the section of this project,all you need to know about this project will be there.
Truebit
TEEX
STARK
Intro: Finality Labs is a community of researchers, devs, modders, hackers, and gamers uniting to experiment with and create new applications of cryptographic systems.
Medium:It's empty!
Applied State Channels and Plasma (WIP) :This paper will outline Finality Labs‘ protocols for complex state systems that address common blockchain applications, a state-channels and Plasma approach to payments, exchanges, and games.
Finality in Blockchain Consensus
The DApp Digest | Nathan Ginnever of Finality Labs
The DApp Digest | Nathan Ginnever | Founder of BlockEDU and Finality Labs
Finality in Blockchain Consensus - by Alexis Gauba - Mechnism Labs & She256
The Future of Layer 2 ----Prague Edition
L4 Venture is building Web3(a decentralized web that removes middlemen and incentivizes users to contribute)
Projects: Counterfactual; ETHglobal; ETHprize; The Stable Fund; ETHER CAPITAL.
Click here and back to the list
Intro: Counterfactual is a object-oriented generalized state channel framework lead by L4.
Counterfactual:Generalized State Channels on Ethereum :Introduction and announcement of the project Counterfactual.
Generalized State Channels on Ethereum: A state channel concept writen by Liam Horne and Jeff Coleman before the project begins.Here talks about their objects and design purpose.
State Channel Applications :A discussion about state channel applications and what Counterfactual do: splits the state channel resolution logic from the application logic.
Channelising MixEth with the Counterfactual framework :Writen by Chris Buckland,researcher from PISA. About a jounary of writing an application(MixEth Protocol) using Counterfactual.
State Channels for Dummies: Part 5(Generalized State Channels / Counterfactual) :About mechanism of generalized state channels writen by Eric Olszewski.
A State Channels Adventure with Counterfactual Rick! (Part 1)
General State Channels:Counterfactual Instantiation Code Walkthrough
Click here and back to the list
Celer Network:Bring Internet Scale to Every Blockchain
Celer Network MVP: The Most Advanced State Channel Full-Stack Solution
Celer Network Off-Chain Crypto Economics
Celer Network Full Stack MVP Demo
Celer Network Layer-2 Crypto Economics Mechanism Design
SF Ethereum Developers Meetup - Celer Network with Mo Dong
aelf x Celer Network Community AMA
Click here and back to the list
NOCUST Paper:NOCUST is a specification for secure N-party payment hubs introduced by Liquidity Network
Liquidity Network Mobile App on Mainnet
A speech on Zurich ——Non-Custodial Financial Intermediaries
Click here and back to the list
The Bitcoin Lightning Network :WP of Lighting Network
LIGHTNING NETWORK EXPLORER[TESTNET]
SF Bitcoin Devs Presentation Slides
SF Bitcoin Social Presentation Slides
Time and Bitcoin Presentation Slides
What Is Lightning Network And How It Works
Lightning Network is the Future of Bitcoin
Understanding Lightning Network using an Abacus
Mathematical Proof That the Lightning Network Cannot Be a Decentralized Bitcoin Scaling Solution
Continued Discussion on why Lightning Network Cannot Scale
Why Lightning and Raiden Networks Will Not Work
Lightning Protocol & The Raiden Network: A Beginner’s Guide
Lightning Network enables Unicast Transactions in Bitcoin. Lightning is Bitcoin’s TCP/IP stack.:About working principle of Lightning Network.
Sparky: A Lightning Network in Two Pages of Solidity
The future of lightning - Elizabeth Stark - Honeybadger 2018 :Text draft of a presentation by Elizabeth Stark. About Lighting Network's history and overview.
Lightning Network Explained Simply
What is the Lightning Network?
SF Bitcoin Devs Seminar: Scaling Bitcoin to Billions of Transactions Per Day( Joseph Poon)
San Francisco Bitcoin Meetup - Lightning for the People
Misconceptions about Lightning Network
The truth about the lightning network
Click here and back to the list
Intro: The Raiden Network is an off-chain scaling solution for performing ERC20-compliant token transfers on the Ethereum blockchain. It is Ethereum's version of Bitcoin's Lightning Network, enabling near-instant, low-fee, scalable, and privacy-preserving payments.
Cofounder— Lefteris Karapetsas Twitter
Alpha Testing Version( Red Eyes )
Product:µRaiden(micro-Raiden): unidirectional micropayment channels.
µRaiden: Unidirectional Off-Chain Payment Framework - Loredana Cirstea :introduction of µRaiden,how it works,and a demo of µRaiden.
Lightning Protocol & The Raiden Network: A Beginner’s Guide
Raiden Network: Vision, Challenges and Roadmap
Raiden Network Token Launch Instructions
The Raiden Network Token Auction Explained
The Raiden Network Token Model
Raiden Network Developer Preview
µRaiden: Micropayments for Ethereum
Powering Micro-Transactions through the Raiden Network
Why Lightning and Raiden Networks Will Not Work
Raiden Network: Getting to a production ready payment channel network by Lefteris Karapetsas
Click here and back to the list
Generic State Channel Networks
Perun: Virtual Payment Hubs over Cryptocurrencies
FairSwap: How to fairly exchange digital goods
Monetha collaborates with Perun Network(News))
Perun: virtual payment and state channel networks
Perun: Virtual Payment and State Channel Networks (Devcon4)
PERUN: Virtual Payment Hubs over Cryptographic Currencies
General state channel networks
Click here and back to the list
First ForceMove Application-Rock Paper Scissors Game
Introducing the Force-Move Games Framework for State Channels
Introducing the Force-Move Games Framework for State Channels
An Overview of the Force-Move Games Framework for State Channels
We launched an example state channel app
Force-Move Games - a simple framework for n-party state channel interactions
Click here and back to the list
Disruptive online gaming on the blockchain that’s Fun, Fast and Fair
FunFair Technology Roadmap and Discussion
Brief introduction how Funfair work
Official gaming industry launch at ICE
Details on how to apply to participate in live beta released
Interview with FunFair’s CEO Jez San
FunFair company update — Aug 31st
Fun, fast & fair casino games powered by Ethereum
FunFair @ Ethereum Community Conference: Scaling tech for mass market gaming
FunFair - Fate Channels - the first generalised state channels to go live in a commercial product
FunFair @ Enterprise Ethereum Alliance in London
FunFair Technologies' Fate Channels: Lessons learned Implementing State Channels (Devcon4)
Click here and back to the list
Pisa: Arbitration Outsourcing for State Channels
Pisa: Arbitration Outsourcing for State Channels
Pisa Protocol: Solving Blockchain's Arbitration Problem w/ Patrick McCorry (Founder)
Interview with Patrick McCorry
Arbitration Outsourcing for State Channels by Patrick McCorry (Devcon4):Introduction of PISA by Patrick McCorry
Click here and back to the list
Scaling Ethereum to Millions Of Users With State Channels - Connext Co-Founder Arjun Bhuptani
Scaling Ethereum dApps with Ethcalate feat. Rahul Sethuram from Connext
Episode 42: It's All About the MoneyShot, with Arjun Bhuptani
Click here and back to the list
We built a Generalised State Channels framework
Code Walkthrough for Generalised State Channels
Click here and back to the list
Sprites and State Channels: Payment Networks that Go Faster than Lightning and here is the video with the same topic presentede by Patrick McCorry:A paper in Cornell University Library, in which they propose Sprites. Sprites can reduces the worst-case "collateral cost" that each hop along the route may incur.
Click here and back to the list
We Got Spanked: What We Know So Far
SpankChain: Payment Channels in Production by Ameen Soleimani & Arjun Bhupati (Devcon4)
Click here and back to the list
Click here and back to the list
Intro: Loom Network is building a fundamental infrastructure platform to help Ethereum scale.It allows developers to run large-scale social apps and games, and is the first Ethereum scaling solution to be live in production.
CryptoZombies, Ethereum’s most popular DApp coding tutorial
NO whitepaper because Loom Network is too busy shipping code
Everything You Need to Know About Loom Network, All in One Place (Updated Regularly)
Loom SDK Projects: Axie Infinity — Collect, Breed, and Battle Fantasy Pets on the Blockchain!
Loom Network AMA w/James Duffy
Loom Network (LOOM) - Crypto Fundamental Analysis
WILL LOOM (LOOM) 100X?? IS IT WORTH INVESTING?
What is Loom Crypto? - DAppChains for Gaming?
Matthew Campbell on Bringing Etheruem DApps to Twitter Scale with Loom Netowrk A talk with CEO of Loom Network about what's Loom Network doing
LOOM Network - Using the Blockchain to Revolutionize Online GamingA video comments on Loom Network has more than 2000 views on Youtube,will help to know about Loom Network.
Click here and back to the list
Click here and back to the list
Click here and back to the list
Intro: SKALE empowers Ethereum DApps to run high-speed, low-cost smart contracts in Layer 2.
hack.summit("blockchain") 2018 - Jack O'Holleran
SFBW18: Scalability: Decentralized or High Performance?
Click here and back to the list
The OMG decentralized Exchange (ODEX)
First OMG Network Application: Plasma Dog
OmiseGO (OMG): Real Problems, Real Solutions — EVERYTHING You Need To Know
The Definitive OmiseGO Beginner’s Guide
How OmiseGO will bring Plasma in everyone's daily life
What is OmiseGo (OMG) in a Nutshell
Announcing the Omise GO ewallet platform
Click here and back to the list
intro: The Livepeer project is building a platform for video transcoding and live video streaming for the decentralized web. It's Beta version is ready.
Medium:with too many articles so if you want to find more articles you could check here.
Introducing Livepeer — A Decentralized Live Video Broadcast Platform and Crypto Token Protocol
Livepeer cryptoeconomics as a case study of active participation in decentralized networks
Livepeer + Stream = The Perfect Collab
Token distribution in perspective: Livepeer’s merkle mine not as successful as portrayed
Modeling Generalized Mining from a Fund’s Perspective: A Livepeer Case Study
Token Summit I - Show and Tell - Livepeer with Doug Petkanics:Introduction of Livepeer in 7 minutes by co-founder of Livepeer.
Web3 Goes Live -- Livestreaming Video on the Peer-to-Peer Internet(Devcon 3):Eric(Co-foudner of Livepeer) gives a 30 minute technical presentation of how to add a live media layer to the web3 stack at Ethereum's Devcon3.(30 minutes)
NYC Ethereum Cryptocurrency & Consumer Media September 7th 2017:Doug and Eric give a 10 minute presentation at the NYC Ethereum Meetup focused on Media and Cryptocurrency. The whole video is 90 minutes and contains other projects.
Click here and back to the list
How to design Auditable Offchain computations via Oraclize
Click here and back to the list
Intro: configures decentralized apps to work seamlessly with both public and private clouds. Use your existing development resources to deploy superior apps in minutes.
Announcing the Techstars Austin Class of 2018
SXSW 2018: 10 Crypto & Blockchain Takeaways
Women In Bitcoin: Combatting The ‘Blockchain Bro’ Stereotype
Examples of People Using Crypto For Good
Austin Ethereum Meetup: Transmute Industries Framework Demo - Blockchain Development Simplified
Full Stack dApp Development with the Transmute Framework
intro: It's the Wallet Engine For The Web3 World Focusing on Usability, Scalability and Privacy
[WhitePaper]
AlphaWallet (Stormbird PTE. LTD.) Joins The Enterprise Ethereum Alliance: AlphaWallet joined EEA to help improving the technology and support the adoption of Ethereum in the enterprise.
AlphaWallet released the report of world’s first blockchain tickets experiment for 2018 World Cup:This is the world’s first global top sporting event ticket to use blockchain technology and one of the few blockchain based projects that is handling a real world legitimate use case.
AlphaWallet CEO Victor Zhang on AsiaTech
AlphaWallet - Integration at the consumer end, Blockchain more than just cryptocurrencies
Singapore Fintech Festival 2019
Click here and back to the list
Making Sense of Ethereum’s Layer 2 Scaling Solutions: State Channels, Plasma, and Truebit::Introduction of layer 2 solutions on Ethereum, after read this article writen by Josh Stark,you will really make sense of Ethereum's Layer 2 scaling solutions:State channels,Plasma, and Truebit.
The Importance of Layer 2:The scalability problem of blockchain and come up with Layer 2 solutions.
Security Tokens 2.0: Some Thoughts Off-Chain vs. On-Chain Governance
Difference Between SideChains and State Channels
State Channel:About introduction of state channel by Jeff Coleman in 2015.
State Channel 101:Simple explaination of state channels.
State Channel Wiki :By Jeff Coleman,explaination of state channel and you can find more in the menu.
Counterfactual Terminology :Why called state channel counterfactual? Here's answer. It's the logic behind state channel.
Why do we need state channels?:An article in learnchannels. Problem of blockchain and why state channel matters.
An intro to state channels in depth
Counterfactual: Generalized State Channel :White paper of Counterfactual,but I highly recommanded this paper, for it explained the concept and philosophy of state channel very well. Pros and cons are also well analysed in this paper.
General state channel networks
10 State Channel Projects Every Blockchain Developer Should Know About
Counterfactual generalised state channels on Ethereum
State Channels and Blockchain Applications
State Channels by Ameen Soleimani—A paradigm shift in Ethereum Dapp development
L4 | Generalized State Channels
State Channels Q&A:a brief overview of what State Channels are, the value they provide, and who is working on them in the space.
Understanding Payment Channels
Payment Channel Contract Walkthrough
Payment Channels vs. State Channels
P4: Private Periodic Payments Protocol by Liz Steininger (Devcon4)
State Channels For Dummies: Part 1:Payment Channels
State Channels for Dummies: Part 3:Multi-Hop Transactions
State Channel for Dummies: Part 4:Ledger Channels and Virtual Channels
State Channels for Dummies: Part 5:Counterfactual
State Channels for Babies Part 1
State Channels for Babies, Part 2
State Channels for Babies, Part 3
State Channel Researchers Call #1:A telephone conference organized by Celer Network,in which several teams which are working on state channel communicating with each other. In this eposide, The first few calls will be about intro to every participating project and free-style Q&A.
State Channel Researchers Call #2:Counterfactual quick intro and discussion about data exchange fabric and connectivity oracle
State Channel Researchers Call #3:Battleship and PISA intro by Patrick McCorry;Connext intro by Arjun Bhuptani;
Discussion about:
- 1.the state monitoring solutions: PISA and Celer State Guardian Network;
- 2.Discussion about Virtual Channel constructs of different projects;
- 3.Discussion about offline recipient problem;
- 4.Discussion of applicable use cases of state channel;
- 5.Discussion about operational challenges and experience of state channels.
State Channel Researchers Call #4:Lucian Boca presenting “Threshold Signature: Improving the security of layer-2 protocols”;Discussion & QA around that
State Channel Researchers Call #5:Some general discussion.
State Channel Researchers Call #6
State Channel Researchers Call #7
State Channel Researchers Call #8
DEVCON1: Raiden: Scaling Out With Offchain State Networks - Heiko Hees :A presentation on Devcon 1(2015),and at that time the category of Raiden is called"Ethereum Sub-Protocol" rather than state channel.
State Channels - Ethereum is Open for Business: Ameen Soleimani (Now he's CEO & Co-founder of Spankchain) presents State Channels, an intro to state channels in depth.
Building a state channel application by Tom Close (Devcon4) :A rock,paper scissors game using state channel and a demo of this game by Tome Close founder of Magmo.And he has some consideration about this experience.(A hard thing about state channel is state)
FunFair Technologies' Fate Channels: Lessons learned Implementing State Channels (Devcon4):Just like the title suggested.
General State Channels - Counterfactual Instantiation Code Walkthrough :It'a tutorial and code overview of Counterfactual.Nathan leads a walkthrough of his counterfactual instantiation PoC code while James and Ameen follow along and ask questions.
The future of lightning - Elizabeth Stark - Honeybadger 2018 :Text draft of a presentation by Elizabeth Stark. About Lighting Network's history and overview.
Plasma Overview and Transaction Data Availability(Devcon3) :Introduction of Plasma by Joseph Poon (Lighting Network)
The State of Plasma by David Knott & Kelvin Fitcher (Devcon4):Very enthusiastic presentation of Plasma and introduction of Plasma MVP,Cash,XT and so on by David Knott & Kelvin Fitcher.
Practical Plasma: Gaming by Matthew Campbell (Devcon4) :Plasma how to scale games on blockchain.
Smart Contracts on Plasma - Christian Reitwiessner(Devcon3) :About building smart contracts on Plasma.
Plasma Blockchain Scalability Framework — An Off-chain Scaling Solution for Ethereum Blockchain:Plasma's principle and different Plasma prototypes and implementations.
Ethereum Plasma – Ethereum’s New Scaling Strategy and Design Space:Joseph Poon, who co-authored the Lightning Network paper, further expanded on and refined the concept with Plasma on Ethereum, resulting in the conditioning of an entire new design space with its own slightly different dynamic.
Plasma Cash Simple Spec:Overview of Plasma, how it solve some problems and some future researches to be done.
PoS Plasma Cash with Sharded Validation:Discussion about Plasma Cash with Sharded validation on Ethresearch.
What is Plasma? Plasma Cash?:Introduction of Plasma Cash.
Plasma Cash: Towards improved Plasma constructions by Georgios Konstantopoulos (Devcon4) :Introduction of Plasma Cash by Georgios Konstantopoulos from Loom Network
Plasma implementers call #1:A telephone conference organized by Ethereum Foundation,in which several teams which are working on Plasma. In this eposide, they discussed the purpose of the group, logistics, introductions, technical details, and more!
Plasma implementers call #2:In this eposide,they went over a number of common Plasma questions.
Plasma implementers call #3:In this eposide,they welcomed the Taiwan team--a group of talented engineers who came together to implement the Plasma MVP. also discussed Cosmos' challenges when exploring Plasma, a number of David's designs, and more fun stuff.
Plasma implementers call #4:In this eposide,they discussed some constructions which can be used to scale Cryptokitties! And of course update Plasma progress and have some fun technical discussions--including a new Plasma implementation from voltairelabs.
Plasma implementers call #5:In this eposide,they discussed Plasma Cash and potential designs and research topics which are worth exploring. :)
Plasma implementers call #6:In this eposide,they discussed designs for Plasma Cash with PoS and sharded validation, coin splits, exits which allow for invalid state transitions, a cryptoeconomics course, and more!
Plasma implementers call #7:In this eposide,they discussed designs which involve sparse merkle trees, bloom filters, and some more splitting! and welcomed the Blockchain @ Berkeley crew who are working on a great Plasma Cash implementation! Yay!
Plasma implementers call #8:In this eposide,they discussed a whole bunch of topics, from account abstraction to Plasma XT which uses cryptoeconomic aggregate signatures (CAS) for checkpointing! Tons of fun!
Plasma implementers call #9:In this eposide,they got to chat about simple splits in Plasma Cash, called Plasma Debit--a critical part of the Plasma Cash spec! Thanks Dan! Plus Vitalik explains instant withdrawals and Plasma with general state transitions :)
Plasma implementers call #10:In this eposide,they got to welcome Loom and Kyber to the call! Plus discussed an update to the Plasma MVP implementation which Kelvin is working on--a research version is pretty much complete! also cover Plasma Cash & debit atomic swaps, as well as Double-batched Merkle log accumulators!
Plasma implementers call #11:In this eposide,they celebrated Loom's release of their Plasma Cash implementation, discuss state channels which are opened on and off of Plasma chains, Plasma Debit with Dan, and wrap it up with some experimental zkSNARKs talk! Amazing times!
Plasma implementers call #12:In this eposide,they discussed a wide variety of topics! We start out discussing Plasma educational materials, then move on to BLS signatures, smart contracts in Plasma, light clients, and finally we get SNARKy!
Plasma implementers call #13:In this eposide,they started with discussions around nitty gritty Plasma Debit liquidity markets. Then talked about Plasma working groups to get the Plasma research done in person, plus hosting a LIVE Plasma call in devcon!chatted about Plasma XT & then Gnosis gives an awesome presentation on their batch auction Plasma construction. Fun!
Plasma implementers call #14:In this eposide,they started out discussing using collateral to reduce user validation load in Plasma Cash. This gets us into triple spends & eventually we talk about the importance and difficulty of analyzing the value of in-flight transactions. Then mentioned some core cryptoeconomic principles around past provability & future accountability.
Plasma implementers call #15:In this eposide,they dived deep into atomic swaps in both Plasma Debit and Plasma Cash. And discussed different implementation details and greifing opportunities. Next some fun discussions around watch towers!
Plasma implementers call #16:In this eposide,they started out by discussing Plasma Cashflow which enables fungible assets on Plasma Cash! then talked about Plasma Leap, the first attempt at a general EVM Plasma!
Plasma implementers call #17:Today Vitalik reviewed his solution to the tx history proof size growth in Plasma Cash! It uses RSA accumulators & is super stylish. We are nearly there... Then they discussed Plasma Leap (even more fun!)
The Plasma Implementers Call: it's a biweekly call which discusses the cutting edge of Plasma research. This is a great group of 9 people: Joseph Poon, Karl Floersch, Kelvin Fichter, Dan Robinson, David Knott, Xuanji Li, George Konstantopoulos, Alex Vlasov, & Vitalik!