Ethereum mainnet has become too slow and expensive to use therefore weâve seen a growth in Ethereum L2s, most of which are rollups as Iâve discussed before.
Creating your own rollup requires a relatively deep understanding of blockchains, but recently a growth in ârollup as a serviceâ (RaaS) providers has meant that you can deploy an L2 rollup in minutes without writing a single line of code!
This week I explore a little how a RaaS works by looking at Conduit.
As Ethereum looks to scale to handle more transactions per second thereâs been a growth in Layer 2 (L2) solutions, weâve looked at EVM L2s in a past post.
Rollups are the most popular L2 type on Ethereum today. As a brief reminder rollups are a separate blockchain that execute transactions then post a summarised version back onto the main chain.
There are already tens of examples of L2 rollups out there as shown on L2 Beat:
However, even though standards have arisen with the likes of Optimism and Arbitrum creating their own toolkits to create L2s more quickly, creating your own L2 is still not trivial and requires a certain amount of technical know-how. Plus you need to run nodes to support the L2 and that can get complicated too.
This challenge has given rise to a new type of business providing a âRollup as a Serviceâ (RaaS). With a RaaS anyone can create and deploy their own rollup in minutes with no code by just pressing a few buttons, then start bridging ETH and running smart contracts and dapps on their very own L2!
Below Iâll show you just how simple it is to create a rollup using a RaaS.
There are already plenty of competitors in the RaaS space including Astria, Caldera, AltLayer, Conduit, and several more.
For this post I chose to use Conduit who I found real quick and easy to get started on.
In their own words Conduit allows you to: âDeploy a rollup in minutes, not months.â Providing âfully-managed, production-grade, customizable rollups on Ethereum, Optimism, Arbitrum, Base, Mode and Zora.â
Their landing page gives a pretty clear image of just how quick and easy it is to create a rollup with Conduit.
Letâs go through these steps below.
First select the deploy button on the landing page, youâll be asked to create an account and organisation and then be taken immediately to the settings page to deploy your first rollup.
Creating a mainnet rollup with Conduit will cost $3,000 per month, whether you want a mainnet rollup or not youâll still want to get started with a testnet rollup which is just $50 per month.
Conduit allows you to use Optimismâs OP stack or Arbitrumâs Orbit stack. If you select Orbit youâll see that the subsequent options will change too.
The settlement layer is what guarantees transaction finality and security, meanwhile the data availability layer is what maintains the information needed to reconstruct the rollup at any given moment. We covered this before on my modularity post.
Both are important but as a simplification settlement should really be on a more decentralised blockchain with the most financial security like Ethereum, while data availability can be on a more centralised blockchain that supports storing a lot more data at lower costs like Celestia.
In my testnet example I stuck with the OP Stack, using Ethereum for settlement and Celestia for DA. Nonetheless, Conduit allows you to mix and match these to find what works best for your specific use-case.
When you continue youâll be asked to pay the $50 monthly fee.
And after youâve paid youâre done! In just a couple of minutes youâve configured your first L2 rollup.
Youâll now just need to wait 15-20m for Conduit to set things up and once itâs done the deployment will show up like this:
The names of your organisation and rollup can be edited but are unimportant, which is why I left mine as is. Importantly you can now start using your new L2 rollup!
On selecting your rollup from the deployments page, the rollup information will show up as below:
The rollup configuration settings appear on the right-hand side and the output in the black terminal box indicates the L2 is live. You donât need to actually understand what the output is saying for now, all you need to see is that itâs continually updating.
Youâll want to select âAdd to Walletâ to add the network to your Metamask or equivalent wallet.
You should then click on âCreate Bridgeâ in the Bridge section, which will open up a bridging software called SuperBridge.
Since weâre on testnet youâll be able to bridge Sepolia ETH to your new rollup. If you donât have any Sepolia ETH you can get it from this faucet.
I bridged over 1 ETH a couple of times and ended up with 2 testnet ETH on my new L2 rollup that I could see on my metamask wallet!
Now with testnet ETH bridged over to your new rollup you can begin to use it!
Now that you have your own L2 rollup running you can deploy code directly to it.
First open up the Remix IDE, which Iâve already explained how to use before in my tutorial called writing your first smart contract.
Then copy the code below into a new file in Remix.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import { Ownable } from â@openzeppelin/contracts/access/Ownable.solâ;
import { ERC20 } from â@openzeppelin/contracts/token/ERC20/ERC20.solâ;
contract Coin is ERC20, Ownable {
constructor(string memory name, string memory symbol)
ERC20(name, symbol) Ownable(_msgSender())
{
_mint(_msgSender(), 100000 ether);
}
}
Update the Environment to âInjected Providerâ and set your Metamask to the new rollup. Next to the orange deploy button give your coin a name and symbol, in this case Iâve written âDog, DOGâ, and then hit deploy.
Youâll have to sign this transaction in Metamask, and when it getâs processed youâll have just created a new token on your new L2 rollup - how cool is that!
If I open up metamask I can add that token into my wallet by copying the contract address created that appears in Remix.
Having done this I can see the balance of my new Dog coin is 100000 DOG. In Metamask I can then send say 100 DOG to another address on the network as such.
How amazing, not only did we just create our own rollup, but we also created our own Dog token on this new blockchain and sent it to another account on this new chain.
As you can see you can do pretty much anything you want with your new L2 blockchain, like create your own tokens, smart contracts, and dapps.
You can have anything from a simple token to a complex AMM like Sushiswap running on your rollup, just as we see it running on several chains:
For this sort of integration with different projects Conduit has an integrations page that helps to get these apps on your new rollup.
When you select âGetâ on any of the dapps on this page a typeform will pop up where you can explain why you want to integrate this dapp with your rollup.
Having this easy interface to communicate with 10s of the most popular dapps out there is an incredibly helpful thing to bootstrap a totally new rollup.
And when youâre happy with everything youâve tested out you can then move the rollup to mainnet. However, upgrading costs $3,000 per month and youâll need to schedule a demo call with Conduit to make it happen.
Having played around my new testnet rollup, I can confirm everything thatâs happened by jumping into the block-explorer that Conduit also set up for you.
For example I can go back to the explorer and take a look at my address to see the transactions done and tokens Iâve got.
I can get more blockchain specific information by selecting the blockchain tab on the left side and clicking on âDeposits (L1->L2)â for example, where I can see the tokens Iâve deposited. In this case you can see the Sepolia ETH that I bridged in.
On selecting Tokens I can also see the new DOG token I deployed.
And we can dive deeper into this token and see that there are two holders as I sent 100 DOGs to another account on the network.
Iâm sure itâs pretty clear that Iâve barely scratched the surface of whatâs possible by having your own new rollup. In a future post I may dive into different use-cases.
Whatâs most fascinating is that since by using a RaaS it has become trivial to create a rollup, itâs likely that L2s will essentially become commoditized and thereâll be hundreds or possibly thousands out there.
Then the real question will be how to differentiate your L2 rollup from the rest?
This article is reproduced from A Fox in Web3, the original title is âBeing included in the currency listing roadmap by Coinbase, detailed explanation of Solana ecological decentralized storage platform ShdwDriveâ. Copyright belongs to the original author[A Fox in Web3]all. If you have any objections to this reprint, please contact the Gate Learn Team. The team will handle it as soon as possible according to relevant procedures.
Disclaimer: The views and opinions expressed in this article represent only the authorâs personal views and do not constitute any investment advice.
The Gate Learn team has translated this article into other languages. Translated articles that are not mentioned may not be reproduced, distributed or plagiarized.
Ethereum mainnet has become too slow and expensive to use therefore weâve seen a growth in Ethereum L2s, most of which are rollups as Iâve discussed before.
Creating your own rollup requires a relatively deep understanding of blockchains, but recently a growth in ârollup as a serviceâ (RaaS) providers has meant that you can deploy an L2 rollup in minutes without writing a single line of code!
This week I explore a little how a RaaS works by looking at Conduit.
As Ethereum looks to scale to handle more transactions per second thereâs been a growth in Layer 2 (L2) solutions, weâve looked at EVM L2s in a past post.
Rollups are the most popular L2 type on Ethereum today. As a brief reminder rollups are a separate blockchain that execute transactions then post a summarised version back onto the main chain.
There are already tens of examples of L2 rollups out there as shown on L2 Beat:
However, even though standards have arisen with the likes of Optimism and Arbitrum creating their own toolkits to create L2s more quickly, creating your own L2 is still not trivial and requires a certain amount of technical know-how. Plus you need to run nodes to support the L2 and that can get complicated too.
This challenge has given rise to a new type of business providing a âRollup as a Serviceâ (RaaS). With a RaaS anyone can create and deploy their own rollup in minutes with no code by just pressing a few buttons, then start bridging ETH and running smart contracts and dapps on their very own L2!
Below Iâll show you just how simple it is to create a rollup using a RaaS.
There are already plenty of competitors in the RaaS space including Astria, Caldera, AltLayer, Conduit, and several more.
For this post I chose to use Conduit who I found real quick and easy to get started on.
In their own words Conduit allows you to: âDeploy a rollup in minutes, not months.â Providing âfully-managed, production-grade, customizable rollups on Ethereum, Optimism, Arbitrum, Base, Mode and Zora.â
Their landing page gives a pretty clear image of just how quick and easy it is to create a rollup with Conduit.
Letâs go through these steps below.
First select the deploy button on the landing page, youâll be asked to create an account and organisation and then be taken immediately to the settings page to deploy your first rollup.
Creating a mainnet rollup with Conduit will cost $3,000 per month, whether you want a mainnet rollup or not youâll still want to get started with a testnet rollup which is just $50 per month.
Conduit allows you to use Optimismâs OP stack or Arbitrumâs Orbit stack. If you select Orbit youâll see that the subsequent options will change too.
The settlement layer is what guarantees transaction finality and security, meanwhile the data availability layer is what maintains the information needed to reconstruct the rollup at any given moment. We covered this before on my modularity post.
Both are important but as a simplification settlement should really be on a more decentralised blockchain with the most financial security like Ethereum, while data availability can be on a more centralised blockchain that supports storing a lot more data at lower costs like Celestia.
In my testnet example I stuck with the OP Stack, using Ethereum for settlement and Celestia for DA. Nonetheless, Conduit allows you to mix and match these to find what works best for your specific use-case.
When you continue youâll be asked to pay the $50 monthly fee.
And after youâve paid youâre done! In just a couple of minutes youâve configured your first L2 rollup.
Youâll now just need to wait 15-20m for Conduit to set things up and once itâs done the deployment will show up like this:
The names of your organisation and rollup can be edited but are unimportant, which is why I left mine as is. Importantly you can now start using your new L2 rollup!
On selecting your rollup from the deployments page, the rollup information will show up as below:
The rollup configuration settings appear on the right-hand side and the output in the black terminal box indicates the L2 is live. You donât need to actually understand what the output is saying for now, all you need to see is that itâs continually updating.
Youâll want to select âAdd to Walletâ to add the network to your Metamask or equivalent wallet.
You should then click on âCreate Bridgeâ in the Bridge section, which will open up a bridging software called SuperBridge.
Since weâre on testnet youâll be able to bridge Sepolia ETH to your new rollup. If you donât have any Sepolia ETH you can get it from this faucet.
I bridged over 1 ETH a couple of times and ended up with 2 testnet ETH on my new L2 rollup that I could see on my metamask wallet!
Now with testnet ETH bridged over to your new rollup you can begin to use it!
Now that you have your own L2 rollup running you can deploy code directly to it.
First open up the Remix IDE, which Iâve already explained how to use before in my tutorial called writing your first smart contract.
Then copy the code below into a new file in Remix.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import { Ownable } from â@openzeppelin/contracts/access/Ownable.solâ;
import { ERC20 } from â@openzeppelin/contracts/token/ERC20/ERC20.solâ;
contract Coin is ERC20, Ownable {
constructor(string memory name, string memory symbol)
ERC20(name, symbol) Ownable(_msgSender())
{
_mint(_msgSender(), 100000 ether);
}
}
Update the Environment to âInjected Providerâ and set your Metamask to the new rollup. Next to the orange deploy button give your coin a name and symbol, in this case Iâve written âDog, DOGâ, and then hit deploy.
Youâll have to sign this transaction in Metamask, and when it getâs processed youâll have just created a new token on your new L2 rollup - how cool is that!
If I open up metamask I can add that token into my wallet by copying the contract address created that appears in Remix.
Having done this I can see the balance of my new Dog coin is 100000 DOG. In Metamask I can then send say 100 DOG to another address on the network as such.
How amazing, not only did we just create our own rollup, but we also created our own Dog token on this new blockchain and sent it to another account on this new chain.
As you can see you can do pretty much anything you want with your new L2 blockchain, like create your own tokens, smart contracts, and dapps.
You can have anything from a simple token to a complex AMM like Sushiswap running on your rollup, just as we see it running on several chains:
For this sort of integration with different projects Conduit has an integrations page that helps to get these apps on your new rollup.
When you select âGetâ on any of the dapps on this page a typeform will pop up where you can explain why you want to integrate this dapp with your rollup.
Having this easy interface to communicate with 10s of the most popular dapps out there is an incredibly helpful thing to bootstrap a totally new rollup.
And when youâre happy with everything youâve tested out you can then move the rollup to mainnet. However, upgrading costs $3,000 per month and youâll need to schedule a demo call with Conduit to make it happen.
Having played around my new testnet rollup, I can confirm everything thatâs happened by jumping into the block-explorer that Conduit also set up for you.
For example I can go back to the explorer and take a look at my address to see the transactions done and tokens Iâve got.
I can get more blockchain specific information by selecting the blockchain tab on the left side and clicking on âDeposits (L1->L2)â for example, where I can see the tokens Iâve deposited. In this case you can see the Sepolia ETH that I bridged in.
On selecting Tokens I can also see the new DOG token I deployed.
And we can dive deeper into this token and see that there are two holders as I sent 100 DOGs to another account on the network.
Iâm sure itâs pretty clear that Iâve barely scratched the surface of whatâs possible by having your own new rollup. In a future post I may dive into different use-cases.
Whatâs most fascinating is that since by using a RaaS it has become trivial to create a rollup, itâs likely that L2s will essentially become commoditized and thereâll be hundreds or possibly thousands out there.
Then the real question will be how to differentiate your L2 rollup from the rest?
This article is reproduced from A Fox in Web3, the original title is âBeing included in the currency listing roadmap by Coinbase, detailed explanation of Solana ecological decentralized storage platform ShdwDriveâ. Copyright belongs to the original author[A Fox in Web3]all. If you have any objections to this reprint, please contact the Gate Learn Team. The team will handle it as soon as possible according to relevant procedures.
Disclaimer: The views and opinions expressed in this article represent only the authorâs personal views and do not constitute any investment advice.
The Gate Learn team has translated this article into other languages. Translated articles that are not mentioned may not be reproduced, distributed or plagiarized.