Skip to content

Commit

Permalink
Run on reth
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Aug 3, 2024
1 parent c3d28af commit 9ac77c5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions run_nethermind.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash
set -e

# Script to run Nethermind dockerized and attach to it.
# The jwtsecret is hardcoded, do not modify it.

# Clean up existing container if it exists
docker rm -f neth-vec-gen 2>/dev/null

# Start the container in the background
docker run --name neth-vec-gen --rm \
-v $PWD/networkdata:/networkdata \
-p 8545:8545 \
-p 8546:8546 \
nethermind/nethermind \
--config=none \
--Init.ChainSpecPath=/networkdata/chainspec.json \
--Init.DiscoveryEnabled=false \
--JsonRpc.Enabled=true \
--JsonRpc.Host=0.0.0.0 \
--JsonRpc.Port=8545 \
--JsonRpc.EngineHost=0.0.0.0 \
--JsonRpc.EnginePort=8546 \
--JsonRpc.JwtSecretFile=/networkdata/jwtsecret \
--TraceStore.Enabled=true
# --Init.ExitOnBlockNumber=4 \

0 comments on commit 9ac77c5

Please sign in to comment.