Skip to content

Commit

Permalink
devenv: fund argent wallet with 99 ETH before deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenPtr committed Dec 5, 2024
1 parent 81bbd8a commit 7028d01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions katana/deploy_and_fund_argent_wallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ else
echo "Expected wallet address: $ADDRESS"
echo "Deployed wallet address: $DEPLOYED_ARGENT_ADDRESS"

OUTPUT=$(starkli invoke --watch 0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 transfer $ADDRESS 99000000000000000000 0)
echo "Funded wallet $OUTPUT"

# Verify addresses match (case-insensitive)
ADDRESS_LOWER=${ADDRESS,,}
DEPLOYED_ADDRESS_LOWER=${DEPLOYED_ARGENT_ADDRESS,,}
Expand All @@ -55,6 +58,4 @@ else
exit 1
fi

OUTPUT=$(starkli invoke --watch 0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7 transfer $ADDRESS 10000 0)
echo "Funded wallet $OUTPUT"
fi

0 comments on commit 7028d01

Please sign in to comment.