deployer touchup; deploy script
This commit is contained in:
2
bin/deploy.sh
Executable file
2
bin/deploy.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
forge script script/Deploy.sol --fork-url http://localhost:8545 --broadcast
|
||||
21
bin/reset.sh
Executable file
21
bin/reset.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
#cd ../server
|
||||
#pwd
|
||||
#db-migrate down
|
||||
#db-migrate up
|
||||
#cd ../contract
|
||||
|
||||
anvil -f arbitrum_ankr &
|
||||
ANVIL_PID=$!
|
||||
sleep 2
|
||||
forge script script/Deploy.sol --fork-url http://localhost:8545 --broadcast
|
||||
|
||||
trap_ctrlc() {
|
||||
echo
|
||||
kill $ANVIL_PID
|
||||
}
|
||||
|
||||
trap trap_ctrlc INT
|
||||
|
||||
# wait for all background processes to terminate
|
||||
wait
|
||||
Reference in New Issue
Block a user