inital commit, which is clearly not initial

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2024-10-03 15:38:52 +03:00
commit 66719626bb
178 changed files with 41709 additions and 0 deletions

16
scripts/run-local-network.sh Executable file
View 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"