Skip to content

Commit

Permalink
Merge branch 'guard-eth-doc' into 'dev'
Browse files Browse the repository at this point in the history
add initialHeight for ethereum

See merge request ergo/rosen-bridge/operation!41
  • Loading branch information
zargarzadehm committed Oct 16, 2024
2 parents e09efb2 + 6f2d708 commit 10d0cc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guard/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,14 @@ ergo:
### Network

Specify your network. If you are using rpc, set `chainNetwork` field as
`rpc` and set your rpc url.
`rpc` and set your rpc url. RPC network scans the blockchain, so it requires `initialHeight`.

```yaml
ethereum:
chainNetwork: 'rpc' # 'rpc'
rpc:
url: 'YOUR_JSON_RPC_PROVIDER_URL'
initialHeight: 20000000
```

If you have auth token for your RPC, you can specify that too.
Expand All @@ -306,6 +307,7 @@ ethereum:
rpc:
url: 'YOUR_JSON_RPC_PROVIDER_URL'
authToken: 'YOUR_AUTH_TOKEN'
initialHeight: 20000000
```

> **NOTE**: When using docker there is an `ETHEREUM_RPC_AUTH_TOKEN` environment variable available for `authToken` that you can set instead of in the local configuration.
Expand All @@ -330,6 +332,7 @@ ethereum:
chainNetwork: 'rpc' # 'rpc'
rpc:
url: 'YOUR_JSON_RPC_PROVIDER_URL'
initialHeight: 20000000
tssChainCode: ''
derivationPath:
-
Expand Down

0 comments on commit 10d0cc2

Please sign in to comment.