Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
autistic-symposium-helper authored Nov 4, 2024
1 parent 7877eb4 commit 9d7f208
Showing 1 changed file with 13 additions and 36 deletions.
49 changes: 13 additions & 36 deletions rollups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,34 @@

<br>

* rollups move computation (and state storage) off-chain, but keep some data per tx on-chain, using compression tricks to replace data with computation wherever possible (but scalability is still limited by the data bandwidth of the underlying blockchain).

### tl;dr

* rollups move computation (and state storage) off-chain, but keep some data per tx on-chain, using compression tricks to replace data with computation wherever possible (but scalability is still limited by the data bandwidth of the underlying blockchain).
<br>

<p align="center">
<img width="500" src="https://user-images.githubusercontent.com/1130416/234379326-901ed83c-4bc5-4c97-bad8-3b9d96dfb1b7.png">

</p>

<br>

- an on-chain smart contract maintains a state root (the merkle root) of the state of the rollup.
- an onchain smart contract maintains a state root (the merkle root) of the state of the rollup.
- anyone can publish a batch (collection of txs, compressed to form the previous state root and the new state root).
- the contract checks that the previous state root in the batch matches the current state root - if not, it switches the state root to the new state root.
- for depositing and withdrawing, txs can have input or output outside the rollup state (processed within the batches).
- optimistic (fraud proof) or zk (validity proof) rollups are solutions to know that the post-state roots in the batches are correct.


<br>

<p align="center">
<img width="250" src="https://user-images.githubusercontent.com/1130416/234935489-f65f98a0-a6ac-4b86-b40d-e4aac97733b7.png">
<img width="250" src="https://user-images.githubusercontent.com/1130416/234379163-f55493b4-7ad5-4d0d-9021-0f722cbe34a6.png">
</p>


<br>

---

### ethereum optimistic l2s

<br>
#### ethereum optimistic l2s

##### arbitrum one
- started rollups
Expand All @@ -46,11 +44,8 @@

<br>

---
#### ethereum zk-rollups l2s

### ethereum zk-rollups l2s

<br>

##### zksync era
- the leading zk-rollup and a zkevm (zk-rollups that use ethereum virtual machine to execute transactions are called zkevms)
Expand All @@ -67,38 +62,20 @@
- converting polygon pos into a zk-validum
- has their prover open-sourced

#### linea
##### linea
- another recent zkevm from consensys


<br>


<p align="center">
<img width="500" src="https://user-images.githubusercontent.com/1130416/234379163-f55493b4-7ad5-4d0d-9021-0f722cbe34a6.png">
</p>

<br>

---

### in this dir

* **[zkps](https://github.com/go-outside-labs/decentralized-protocols-research/tree/main/cryptography/zkps)**


<br>


---

### resources
### cool resources

<br>

* **[what are rollups, by ef](https://ethereum.org/en/developers/docs/scaling/zk-rollups/)**
* **[upgrading ethereum book, by b. edgington](https://eth2book.info/bellatrix/)**
* **[an incomplete guide to rollups, by vitalik](https://vitalik.ca/general/2021/01/05/rollup.html)**
* **[validity rollups on bitcoin, by john light](https://bitcoinrollups.org/)**
* **[an incomplete guide to rollups, by vub](https://vitalik.ca/general/2021/01/05/rollup.html)**
* **[validity rollups on bitcoin, by j. light](https://bitcoinrollups.org/)**
* **[covenants, by bitcoin optech](https://bitcoinops.org/en/topics/covenants/)**
* **[a rollup-centric ethereum roadmap](https://ethereum-magicians.org/t/a-rollup-centric-ethereum-roadmap/4698)**

0 comments on commit 9d7f208

Please sign in to comment.