Deploy an OP Stack testnet with Celestia
In order to deploy a testnet with Celestia, you will need to have a modified
You can find the steps to install dependencies and the modified version here.
Pick your deployment type
Using Celestia and OP stack, you have the option to either
run a light node of your own or a
which will give you a local devnet to test things out with.
Using a local devnet
If you'd like to use the
local-celestia-devnet, you're in luck!
This is the default for the OP Stack + Celestia repository. Head
to the previous page to get started.
Using a light node
This is a beta integration and we are working on resolving open issues. The current testnet this setup is compatible with is the Arabica devnet.
In order to allow your light node to post
and retrieve data without errors, you will need to change
If you choose to use your own node store, the light node
must be fully synced and funded for you to be able to submit
PayForBlobs to a Celestia network.
If it is not synced, you will run into errors.
Visit the Arabica page to visit the faucet.
In order to mount existing data, you must have a node store that is in this directory:
This is the default location of the node store when you initialize and run a new Celestia node.
The user in the
docker-compose-testnet.yml is the
but this is not meant to be used in production.
By default, the node will run with the account named
If you have your own setup you'd like to try, you can always edit
optimism/ops-bedrock/docker-compose-testnet.yml to work with your setup.
Using a RaaS provider
If you'd like to use a Rollups as a Service (RaaS) provider, you can do so by going to the RaaS category.
Build the testnet
Build TypeScript definitions for TS dependencies:
Set environment variables to start network:
Start the testnet
First, make sure your light node is synced and funded.
Next, you can start up the testnet with the following command:
View the logs of the testnet
If you'd like to view the logs of the testnet, run the following command from the root of the Optimism directory:
Stop the testnet
To safely stop the testnet, run the following command:
Clean the testnet
To remove all data from the testnet, run the following command: