Skip to content

Commit

Permalink
curio devnet: move miner wallet to forest (#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmih authored Sep 30, 2024
1 parent d5cba05 commit 7a30904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/devnet-curio/run_curio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if [ ! -f "$CURIO_REPO_PATH"/.init.curio ]; then
echo Create a new miner actor ...
lotus-shed miner create "$DEFAULT_WALLET" "$DEFAULT_WALLET" "$DEFAULT_WALLET" 8MiB
touch "$CURIO_REPO_PATH"/.init.setup
lotus wallet export "$DEFAULT_WALLET" >"$CURIO_REPO_PATH"/default.key
fi

if [ ! -f "$CURIO_REPO_PATH"/.init.config ]; then
Expand Down Expand Up @@ -54,5 +55,6 @@ fi
TOKEN=$(cat "$FOREST_DATA_DIR"/token.jwt)
FULLNODE_API_INFO=$TOKEN:/dns/forest/tcp/${FOREST_RPC_PORT}/http
export FULLNODE_API_INFO
lotus wallet import "$CURIO_REPO_PATH"/default.key || true
echo Starting curio node ...
exec curio run --nosync --name devnet --layers seal,post,gui

0 comments on commit 7a30904

Please sign in to comment.