Skip to content

Commit

Permalink
docs: nitro-node v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth authored and hkalodner committed Aug 29, 2022
1 parent b9cef97 commit aeb2076
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Running_Nitro_Node.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Note: If you’re interested in accessing an Arbitrum chain, but you don’t wan

### Required Artifacts

- Latest Docker Image: `offchainlabs/nitro-node:v2.0.0-beta.9-f8a2ed7`
- Latest Docker Image: `offchainlabs/nitro-node:v2.0.0-292bbc4`

- Only if using Rinkeby: Rinkeby Nitro Seed Database Snapshot
- Use the parameter `--init.url="https://snapshot.arbitrum.io/rinkeby/nitro.tar"` on first startup to initialize Nitro database
Expand Down Expand Up @@ -36,7 +36,7 @@ Note: If you’re interested in accessing an Arbitrum chain, but you don’t wan
- Note that is important that `/some/local/dir/arbitrum` already exists, otherwise the directory might be created with `root` as owner, and the docker container won't be able to write to it.

```
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 offchainlabs/nitro-node:v2.0.0-beta.9-f8a2ed7 --l1.url https://l1-node:8545 --l2.chain-id=<L2ChainId> --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=*
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 offchainlabs/nitro-node:v2.0.0-292bbc4 --l1.url https://l1-node:8545 --l2.chain-id=<L2ChainId> --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=*
```

- Note that if you are running L1 node on localhost, you may need to add `--network host` right after `docker run` to use docker host-based networking
Expand Down Expand Up @@ -83,9 +83,9 @@ Note: If you’re interested in accessing an Arbitrum chain, but you don’t wan
The arb-relay is in the same docker image.
- Here is an example of how to run nitro-relay for Rinkeby:
```
docker run --rm -it -p 0.0.0.0:9642:9642 --entrypoint relay offchainlabs/nitro-node:v2.0.0-beta.9-f8a2ed7 --node.feed.output.addr=0.0.0.0 --node.feed.input.url wss://rinkeby.arbitrum.io/feed
docker run --rm -it -p 0.0.0.0:9642:9642 --entrypoint relay offchainlabs/nitro-node:v2.0.0-292bbc4 --node.feed.output.addr=0.0.0.0 --node.feed.input.url wss://rinkeby.arbitrum.io/feed
```
- Here is an example of how to run nitro-node for Rinkeby with custom relay:
```
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 offchainlabs/nitro-node:v2.0.0-beta.9-f8a2ed7 --l1.url https://l1-rinkeby-node:8545 --l2.chain-id=421611 --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=* --node.feed.input.url ws://local-relay-address:9642
docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum -p 0.0.0.0:8547:8547 -p 0.0.0.0:8548:8548 offchainlabs/nitro-node:v2.0.0-292bbc4 --l1.url https://l1-rinkeby-node:8545 --l2.chain-id=421611 --http.api=net,web3,eth,debug --http.corsdomain=* --http.addr=0.0.0.0 --http.vhosts=* --node.feed.input.url ws://local-relay-address:9642
```

0 comments on commit aeb2076

Please sign in to comment.