Created
October 28, 2023 19:12
-
-
Save Aviksaikat/89f080b84299d78f8e22c7048fb33346 to your computer and use it in GitHub Desktop.
Deploy script to local nodes for testing challenges of paradigm CTF 2023
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ANVIL_RPC_URL="http://127.0.0.1:8545" | |
# make it background | |
anvil --fork-url $WEB3_INFURA_RPC --auto-impersonate & | |
cd challenge/project && forge script --rpc-url "$ANVIL_RPC_URL" script/Deploy.s.sol:Deploy --broadcast --unlocked --sender $(cast az) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment