- Set
WALLET_TYPEtolocal,ledger,trezor, oraccountdepending on your wallet - If
WALLET_TYPEislocal:- Set
PRIVATE_KEYto your private key
- Set
- If
WALLET_TYPEisledgerortrezor:- Set
MNEMONIC_INDEXto the index of the mnemonic
- Set
- If
WALLET_TYPEisaccount:- Set
ACCOUNT_NAMEto the name of the account saved in the forge cast wallet
- Set
forge install- Multisig scripts
# simulate only
forge script --fork-url <your_fork_url> script/ops/GnosisSafeScript.s.sol -s "run(bool)" false# queue up the multisig transaction
forge script --fork-url <your_fork_url> script/ops/GnosisSafeScript.s.sol -s "run(bool)" true - Deployer scripts
# simulate only
forge script --fork-url <your_fork_url> script/deployer/DeployerScript.s.sol# execute and broadcast tx
forge script --fork-url <your_fork_url> script/deployer/DeployerScript.s.sol --broadcast --account deployer