Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nitro w blobstream #1358

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions developers/arbitrum-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ description: A guide on how to install Arbitrum Nitro and deploy an instance on

# Deploy an Arbitrum rollup devnet

![nitro-vroom](/img/nitro-vroom-devnet.png)

We will go over installation of Arbitrum Nitro and deploying an instance on an
Ubuntu AMD machine. This section covers all necessary dependencies needed to be
installed.
Expand Down Expand Up @@ -77,14 +75,42 @@ to this version so that the tutorial works for anyone using it ATM. -->
```bash
git clone https://github.com/celestiaorg/nitro.git && cd nitro/
git fetch --all
git checkout c6f5ac2
# checkout to the stable commit on the blobstream-develop branch
git checkout 52323cc
git submodule update --init
git submodule update --init --recursive
```

## Installing Nitro from Source

Now you can install Nitro from source. After the `make` command completes,
Before installing Nitro, you'll need to build a local version of
a Celestia local devnet. Follow these commands to do so:

```bash
# clone the repo
git clone https://github.com/rollkit/local-celestia-devnet.git
cd local-celestia-devnet

# checkout to the stable commit on the blobstream-develop branch
git checkout 997edce

# build the image
docker build . -t celestia-local-devnet
```

:::tip
If you're on a Mac, you'll need comment out the platform in
`docker-compose.yml`:

```yaml-vue
da:
container_name: 'da-celestia'
# platform: linux/x86_64 // [!code focus]
```

:::

Now, you can install Nitro from source. After the `make` command completes,
you can run the bash script that installs and runs the containers via
docker-compose.

Expand Down
10 changes: 2 additions & 8 deletions developers/arbitrum-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ include:

### Blobstream

:::warning UPCOMING INTEGRATION
The Blobstream section is currently under development. Please note that
the integration with Blobstream is not yet finalized, but it is planned
for implementation in the near future.
:::

The Celestia and Arbitrum integration also
[includes Blobstream](./blobstream.md),
The Celestia and Arbitrum integration also includes
[Blobstream](./blobstream.md),
which relays commitments to Celestia’s data root to an onchain light client
on Ethereum. This allows L2 solutions that settle on Ethereum to benefit
from the scalability Celestia’s data availability layer can provide.
Expand Down
18 changes: 9 additions & 9 deletions developers/arbitrum-mocha.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ description: An overview of the deploying Arbitrum Nitro and Celestia rollup to

# Deploy an Arbitrum rollup to Mocha testnet

![nitro-vroom](/img/nitro-vroom.png)

<!-- markdownlint-disable MD033 -->
<script setup>
import constants from '/.vitepress/constants/constants.js'
</script>

:::warning
This tutorial is under construction. 🏗️
:::

This guide covers deploying an Arbitrum Nitro rollup to
[Mocha testnet](../nodes/mocha-testnet.md) using Celestia as DA.

Expand All @@ -36,11 +38,11 @@ This guide covers deploying an Arbitrum Nitro rollup to

```bash-vue
da:
container_name: 'celestia-da' // [!code ++]
container_name: 'da-celestia'
user: root // [!code ++]
platform: linux/x86_64
image: "ghcr.io/rollkit/local-celestia-devnet:v0.12.1" // [!code --]
image: "ghcr.io/celestiaorg/celestia-node:v0.12.1" // [!code ++]
image: "ghcr.io/celestiaorg/celestia-node:v0.12.3" // [!code ++]
command: > // [!code ++]
celestia light start // [!code ++]
--core.ip rpc-mocha.pops.one // [!code ++]
Expand Down Expand Up @@ -77,9 +79,9 @@ This guide covers deploying an Arbitrum Nitro rollup to

# Line 287
# NOTE: depending on the version you're using, you may have a different
# container name to start. Change yours accordingly to `celestia-da`.
# container name to start. Change yours accordingly to `da-celestia`.
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec nitro-testnode-da-1 celestia bridge auth admin --node.store ${NODE_PATH})" // [!code --]
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec celestia-da celestia light auth admin --node.store ${NODE_PATH})" // [!code ++]
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec da-celestia celestia light auth admin --node.store ${NODE_PATH})" // [!code ++]
```

4. Pick a namespace, `<your-10bytenamespace>` that is 10 bytes in hexadecimal.
Expand All @@ -93,9 +95,7 @@ This guide covers deploying an Arbitrum Nitro rollup to
"namespace-id": "<your-10bytenamespace>", // [!code ++]
```

[See an example diff of the setup](https://github.com/celestiaorg/nitro/pull/4/files),
specifically
[the updates to nitro-testnode](https://github.com/celestiaorg/nitro-testnode/pull/6/files).
5. TODO ADD CHANGES FOR BLOBSTREAM

## Run your Nitro rollup on Mocha

Expand Down
Binary file removed public/img/nitro-vroom-devnet.png
Binary file not shown.
Binary file removed public/img/nitro-vroom.png
Binary file not shown.
Loading