Skip to content

Commit

Permalink
chore: add prompts in gaianet start command
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Feb 21, 2025
1 parent e2f842a commit 40fdde1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -646,15 +646,19 @@ elif [ -f "$migrated_from_file" ] && tar -tf "$migrated_from_file" | grep -q "no
fi
fi
else
printf "[+] Generating node ID ...\n"

# download the default nodeid.json
if [ ! -f "$gaianet_base_dir/nodeid.json" ]; then
printf " * Download nodeid.json ...⏳\n"
check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/nodeid.json $gaianet_base_dir/nodeid.json
info " 👍 Done!"
fi

printf "[+] Generating node ID ...\n"
printf " * Generate node ID ...\n"
cd $gaianet_base_dir
wasmedge --dir .:. registry.wasm
info " 👍 Done!"
info " 👍 Done!"
fi

# 11. Install gaia-frp
Expand Down

0 comments on commit 40fdde1

Please sign in to comment.