Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Sep 27, 2024
1 parent 21ade0e commit 5a7b8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subnet/deployment-generator/scripts/faucet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ cd ..

read -p "Input Grandmaster PK (or any source wallet with funds): " SOURCE_PK
read -p "Input destination wallet address: " DEST_ADDR
read -p "Input transfer amount " AMOUNT
read -p "Input transfer amount: " AMOUNT

extra=""
if [[ "$OSTYPE" == "darwin"* ]]; then
extra="--network generated_docker_net"
fi

docker pull xinfinorg/subnet-generator:$VERSION_GENERATOR
docker run --env-file common.env --entrypoint node $extra xinfinorg/subnet-generator:$VERSION_GENERATOR /app/src/faucet.js $SOURCE_PK $DEST_ADDR $AMOUNT
docker run --env-file common.env --entrypoint node $extra xinfinorg/subnet-generator:$VERSION_GENERATOR /app/src/faucet.js $SOURCE_PK $DEST_ADDR $AMOUNT

0 comments on commit 5a7b8ac

Please sign in to comment.