Top 3 Optimistic Rollup L2 projects
Tags: blockchain, web3, layer2, optimisticrollup
Published: 2022-07-24 05:06:00

Before we go into discussing optimistic rollups, some base knowledge is needed. One of which is **_blockchain scaling._** 

## Blockchain scaling

Ethereum as a case study has grown to a level where the blockchain has hit some capacity limits. As a result, Ethereum network usage has become more expensive, necessitating scaling. The whole point of scaling actually is to increase transaction throughput (the number of transactions per second) and speed (faster finality) without compromising security or decentralization.


Scaling a blockchain ecosystem can be done in one of two ways

-  Increasing the capacity of transactions on the blockchain itself.

- **Modifying how you utilize the blockchain.**

You can read more about scaling [here](https://ethereum.org/en/developers/docs/scaling/)

The second point highlighted involves users conducting the majority of their activity off-chain in an L2 ( [Layer 2](https://ethereum.org/en/layer-2/) ) protocol rather than directly placing all activity on the blockchain. 

## Rollups

Rollups is one of the types of layer-2 scaling. It can be refered to as a layer 2 hybrid scheme. The concept of Rollup is that Rollups keep some data per transaction on-chain while moving computation and state storage off-chain.

Here is a diagram that shows how rollups work

![Rollup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1kk8bov9elq4crs353m.png)
Source: [vitalik.ca](https://vitalik.ca/general/2021/01/05/rollup.html)

## Rollup Types

The two types of rollups are:

1. Optimistic rollups: also called fraud proofs

2. ZK rollups: also called validity proofs

## Optimistic rollups

In optimistic rollups, the rollup contract records each batch's hash and the history of each state's roots. Optimistic rollups by default don't perform any computation. Instead, they suggest the new state to Mainnet after a transaction. 


## Optimistic Rollup L2 projects

Here are three projects that use the Optimistic Rollup Technology

**Arbitrum**

![Arbitrum](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hy9xbysshy2jv6nls67n.png)

Arbitrum is a suite of Ethereum scaling solutions that enables high-throughput, low cost smart contracts while maintaining trustlessly security. Arbitrum supports all EVM language and natively supports all Ethereum tooling. Arbitrum Rollup differs from Ethereum in terms of price: transactions on Arbitrum only cost a small portion. It is quick and easy to port contracts from Ethereum to Arbitrum; no new software or code changes are required.

Website: https://arbitrum.io
Documentation: https://developer.offchainlabs.com
Explorer: https://explorer.arbitrum.io

**Optimism**

![Optimism](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rux54lisr4zfcocxa6ma.png)

Optimism is a Layer 2 scaling protocol for Ethereum applications thus it makes transactions cheap. Optimism is intended to be an expansion of Ethereum. The `CanonicalTransactionChain` is a unique Ethereum smart contract that houses all Optimism blocks. Code in the `CanonicalTransactionChain` ensures that new Ethereum transactions cannot change the list of existing blocks. Users can send any messages between smart contracts on Optimism and Ethereum. 

Website: https://www.optimism.io
Documentation: https://community.optimism.io/docs
Explorer: https://optimistic.etherscan.io

**Boba Network**

![Boba](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q8mpfdylfsz742mvmdgm.png)
 
The foundation of Boba is actually the optimistic rollup created by Optimism. In addition to its emphasis on enhancing computing, Boba has it's own unique features such as: providing a swap-based system for quick exits from L2 to L1 (the standard exit period of rollups is 7 days) and an additional cross-chain messaging such as a message-relayer-fast.

Website: https://boba.network
Documentation: https://docs.boba.network
Explorer: https://blockexplorer.boba.network

A lot of developers are building on all 3 that I reviewed in this article. To get started with them, you can try out by deploying a contract. The following resources will help: 

- [Contract Deployment using Arbritrum](https://developer.offchainlabs.com/docs/contract_deployment)

- [Contract Deployment using Optimism](https://community.optimism.io/docs/developers/build/basic-contract)

- [Contract Deployment using Boba](https://docs.boba.network/for-developers/contract-deployment)

**Conclusion**

In this article, we have discussed blockchain scaling, the need for it, the various ways of scaling, rollups, optimistic rollups and finally projects whose technology are based on optimistic rollups. 

I hope this article helped to keep things in perspective for someone out there. 

References

https://vitalik.ca/general/2021/01/05/rollup.html
https://ethereum.org/en/developers/docs/scaling
https://l2beat.com