mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-02 14:56:18 -04:00
add scripts, genesis file, k8s deployment scaffold
This commit is contained in:
parent
cbfceeb5d4
commit
8e422b2e5d
9 changed files with 311 additions and 0 deletions
17
geth_and_k8s/scripts/create_docker.sh
Executable file
17
geth_and_k8s/scripts/create_docker.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
PORT=${PORT:-18545}
|
||||
|
||||
echo "Building local blockchain container"
|
||||
|
||||
docker build -t <docker container alias> .
|
||||
|
||||
echo "Starting blockchain network on port $PORT (use rpc URL http://localhost:$PORT)"
|
||||
|
||||
docker run -it --rm \
|
||||
-v $(pwd)/genesis.json:/genesis.json \
|
||||
-v $(pwd)/data:/data \
|
||||
-p $PORT:8545 \
|
||||
<docker container alias>
|
Loading…
Add table
Add a link
Reference in a new issue