Error: "./shell/deploy.base.sh: Permission denied"
Run this command:
chmod +x shell/deploy.*.sh
sh shell/deploy.sh --network=<NETWORK>
where can be anything between ["base", "scroll", "mode", "op"]
sh shell/deploy.sh ---help
- Duplicate any deploy.NETWORK.sh file and name it deploy.DESIRED_NETWORK.sh
- Add two enviornment variables to .env and .env.example file
DESIRED_NETWORKSCAN_API_KEY=
DESIRED_NETWORK_RPC_URL=
- In the file
deploy.DESIRED_NETWORK.sh
file update the following variables
export ETHERSCAN_API_KEY=$DESIRED_NETWORKSCAN_API_KEY
export RPC_URL=$DESIRED_NETWORK_RPC_URL
- Add the network to array of
allowed_networks
in filedeploy.sh
. - Run the command
sh shell/deploy.sh --network=DESIRED_NETWORK