Skip to content

Commit e842dcb

Browse files
committed
Some modifications to Rishabh's draft
1 parent 0e74f1a commit e842dcb

File tree

1 file changed

+33
-17
lines changed

1 file changed

+33
-17
lines changed

pages/docs/build-with-avail/Optimium/arbitrum-nitro/nitro-stack.mdx

+33-17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Callout } from 'nextra/components'
2+
13
# Deploy Arbitrum Orbit with Avail DA
24

35
### Prerequisites
@@ -7,9 +9,11 @@
79
3. At least 1 ETH over Arbsepolia Testnet. You can follow [Step 1](https://docs.arbitrum.io/launch-orbit-chain/orbit-quickstart#step-1-acquire-arbitrum-testnet-eth-and-the-native-token-for-orbit-chains-with-custom-gas-tokens) on Arbitrum Orbit Doc for acquiring testnet $ETH
810
4. This guide will use [Arbitrum's ArbSepolia](https://docs.arbitrum.io/build-decentralized-apps/public-chains#arbitrum-sepolia) and [Avail's Turing](/docs/networks) testnets.
911

10-
> This guide is based on [Arbitrum Orbit Quickstart](https://docs.arbitrum.io/launch-orbit-chain/orbit-quickstart)
12+
<Callout type="info">
13+
This guide is based on [Arbitrum Orbit Quickstart](https://docs.arbitrum.io/launch-orbit-chain/orbit-quickstart)
14+
</Callout>
1115

12-
## 1. Download avail nitro node docker image
16+
## Download avail nitro node docker image
1317

1418
### Step-1: Download the [avail-nitro-node](https://hub.docker.com/repository/docker/availrishabh/avail-nitro-node-dev/tags) image from docker hub
1519

@@ -18,7 +22,7 @@
1822
```
1923

2024

21-
## 2. Deploy Rollup Contracts
25+
## Deploy Rollup Contracts
2226

2327
### Step-1: Download the [nitro-contract](https://github.com/availproject/nitro-contracts/tree/data-availability-verification-v2.3.1) with Avail DA
2428

@@ -93,7 +97,9 @@
9397
| Validators | Your chain's validators are responsible for validating the integrity of transactions and posting assertions of the current state of your Orbit chain to its base chain. Add the address in the list which you want to be added to an allow-list in your chain’s base contract |
9498
| Batch Poster | Your batch poster address is responsible for posting batches of transactions from your Orbit chain to its base contracts on its base chain. Added the address which you want to act as batch-poster for your orbit chain |
9599

96-
> When we say "base contracts" and "base chain", we're referring to your Orbit chain's L2 contracts and the L2 chain that they're deployed to, respectively. We'll use these terms throughout the rest of this guide.
100+
<Callout type="info">
101+
When we say "base contracts" and "base chain", we're referring to your Orbit chain's L2 contracts and the L2 chain that they're deployed to, respectively. We'll use these terms throughout the rest of this guide.
102+
</Callout>
97103

98104

99105
### Step-4: Deploy your chain's base contracts to Arbitrum Sepolia!
@@ -111,7 +117,7 @@
111117

112118
Your Orbit chain's base contracts are responsible for facilitating the exchange of information between your chain's node(s) and its base chain's nodes. This includes the batch posting of transactions from your Orbit chain to its base chain, the staking of tokens by your Orbit chain's validators the challenge mechanism, bridging mechanisms, and more.
113119

114-
## 3. Spin up the chain using orbit-setup-script
120+
## Spin up the chain using orbit-setup-script
115121

116122
### Step-1: Download [orbit-setup-script](https://github.com/OffchainLabs/orbit-setup-script.git)
117123

@@ -198,18 +204,28 @@ Your Orbit chain's base contracts are responsible for facilitating the exchange
198204
}
199205

200206
```
201-
Update these detailes based on your chain's configuration and base contract addresses
202-
- chain.chain-id
203-
- chain.chain-name
204-
- chain.InitialChainOwner
205-
- chain.chainId
206-
- chain.rollup
207-
- chain.name
208-
- node.batch-poster.parent-chain-wallet.private-key
209-
- node.staker.parent-chain-wallet.private-key
210-
- node.avail.seed
211-
- node.avail.app-id
212-
- node.avail.arbSepolia-rpc
207+
208+
<Callout type="info">
209+
Make sure to update these params based on your chain's configuration and base contract addresses
210+
211+
<details className="border p-3 rounded-md bg-[#EFF6FF] border-[#] hover:!bg-[#EFF6FF]">
212+
<summary>
213+
List of params to be configured
214+
</summary>
215+
- `chain.chain-id`
216+
- `chain.chain-name`
217+
- `chain.InitialChainOwner`
218+
- `chain.chainId`
219+
- `chain.rollup`
220+
- `chain.name`
221+
- `node.batch-poster.parent-chain-wallet.private-key`
222+
- `node.staker.parent-chain-wallet.private-key`
223+
- `node.avail.seed`
224+
- `node.avail.app-id`
225+
- `node.avail.arbSepolia-rpc`
226+
227+
</details>
228+
</Callout>
213229
214230
### Step-3: Update `docker-compose` file of `orbit-setup-script`
215231

0 commit comments

Comments
 (0)