mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
inital commit, which is clearly not initial
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
16
scripts/run-local-network.sh
Executable file
16
scripts/run-local-network.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
OFFSET="$2"
|
||||
PORT=$((30333+OFFSET))
|
||||
RPC_PORT=$((9933+OFFSET))
|
||||
KEY=$((OFFSET+1))
|
||||
NODE_KEY="000000000000000000000000000000000000000000000000000000000000000${KEY}"
|
||||
|
||||
./target/release/ghost \
|
||||
--chain "casper-local" \
|
||||
--tmp \
|
||||
--port=${PORT} \
|
||||
--rpc-port=${RPC_PORT} \
|
||||
--rpc-cors all \
|
||||
--node-key=${NODE_KEY} \
|
||||
--"$1"
|
||||
Reference in New Issue
Block a user