1
Install Weave
To get started, you need to first install our
Weave CLI.
2
Configure Weave and Gas Station Account
With Weave installed, you need to set up and fund your
gas station account.
This account will be used to fund the various bots and processes involved in the
rollup’s operations.This will prompt you to either generate a new account to use as your gas station
account or import an existing account’s mnemonic. Once you have created your
account, you then need to fund it with some INIT tokens (for OPinit bots
bridging transactions) and TIA (for submitting data to Celestia).
3
Deploy the Rollup
Now that you have configured your gas station account, you can proceed to deploy
your rollup.From the provided options, you can:At this point, you can now interact with your rollup, send transactions, and
deploy contracts on the rollup. However, for full functionality, you will also
need to run the OPinit Executor and Challenger bots as well as the IBC Relayer.
- Select your VM
- Choose your Chain ID and default gas token denomination
- Choose your DA layer
- Enable the price oracle
- Set genesis accounts
ctrl+T. And if you want to go back to the previous step, press
ctrl+Z.Once you have selected all the options, Weave will automatically start the
rollup. When everything is complete, you will see the rollup’s endpoint
information, which includes the REST, RPC, and, for EVM rollups, JSON-RPC
endpoints. The CLI will also create a magic link that you can use to add your
rollup to InitiaScan.At this stage, you can interact with your rollup and deploy contracts, as well
as send transactions. However, to enable bridging INIT and other tokens from
L1, setting up DA, and more, you will also need to run the OPinit Executor,
Challenger bots, and the IBC Relayer. To do this, follow the steps below.
4
Start the OPinit Executor
The OPinit Executor bot is responsible for executing INIT bridging transactions
between the Initia L1 and your rollup, submitting the rollup state output to the
L1, submitting DA data to Celestia, and more. To start the bot, runThis will prompt you to set up the bot’s configuration through a series of
questions.Once all of that is complete, you can start the bot by running the following
command.You should see the bot running in the terminal.
5
Start the OPinit Challenger
The OPinit Challenger bot is responsible for monitoring the Executor bot’s
output proposal and ensuring its validity. To start the bot, runAgain, you’ll be guided through a series of questions similar to the Executor.
The main difference is that you’ll be setting up the Challenger instead of the
Executor.Once all of that is complete, you can start the bot by running the following
command.You should see the bot running in the terminal.If everything is working correctly, you will now have both the Executor and
Challenger bots running.
6
Start the IBC Relayer
Finally, you need to set up the IBC Relayer bot. This bot relays IBC messages between the Initia L1 and your rollup. It is essential for oracle price updates and managing IBC bridging transactions, including compatibility with Minitswap.By default, Weave also allows you to set up the relayer for any whitelisted
rollup. But in this case, we will be setting up the relayer for your local
rollup.Once all of that is complete, you can start the bot by running the following
command.You should see the bot running in the terminal.