Skip to content

Commit 2d7bd27

Browse files
authored
Update README.md
1 parent fb81947 commit 2d7bd27

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A data availability server for the Arbitrum Nitro stack, leveraging Celestia DA
88

99
## Docker
1010

11-
`FROM ghcr.io/celestiaorg/nitro-das-celestia:v0.4.3`
11+
`FROM ghcr.io/celestiaorg/nitro-das-celestia:v0.5.4`
1212

1313

1414
## Example usage
@@ -38,6 +38,55 @@ docker run --name celestia-server \
3838

3939
For an example on how to use the images in conjunction with other containers, check the [docker-compose.yaml](https://github.com/celestiaorg/nitro-das-celestia/blob/main/docker-compose.yaml) in this repository for an example
4040

41+
## Fallback setup
42+
43+
If the orbit chain uses celestia da, but has fallbacks enabled using an anytrust setup, a `daprovider` connection is needed. The `daprovider` binary can be ran as a wrapper around an existing rest aggregator endpoint, for example:
44+
45+
```
46+
daprovider:
47+
image: ghcr.io/celestiaorg/nitro:v3.6.8
48+
entrypoint: /usr/local/bin/daprovider
49+
ports:
50+
- "127.0.0.1:9880:9880"
51+
command:
52+
- --das-server.addr=0.0.0.0
53+
- --das-server.port=9880
54+
- --das-server.data-availability.enable=true
55+
- --das-server.data-availability.rest-aggregator.enable=true
56+
- --das-server.data-availability.rest-aggregator.urls=<rest_aggregator_url>
57+
- --das-server.data-availability.parent-chain-node-url=<ethereum_rpc>
58+
- --das-server.data-availability.sequencer-inbox-address=<squencer_inbox_address>
59+
```
60+
61+
This then can be used in your celestia server as:
62+
```
63+
celestia-server:
64+
image: ghcr.io/celestiaorg/nitro-das-celestia:v0.5.4
65+
container_name: celestia-server
66+
entrypoint:
67+
- /bin/celestia-server
68+
- --das.enable
69+
- --fallback-enabled
70+
- --celestia.namespace-id
71+
- $NAMESPACE
72+
- --rpc-addr
73+
- "0.0.0.0"
74+
- --rpc-port
75+
- "26657"
76+
- --das.rpc.url
77+
- $DAPROVIDER_URL
78+
- --celestia.rpc
79+
- $CELESTIA_RPC_ENDPOINT
80+
- --log-level
81+
- "DEBUG"
82+
ports:
83+
- "1317:1317"
84+
- "9090:9090"
85+
- "26657:26657" # Celestia RPC Port
86+
- "1095:1095"
87+
- "8080:8080"
88+
```
89+
4190
## Flags
4291

4392
```

0 commit comments

Comments
 (0)