In order to be able to use this scripts, please follow the following steps:
- Enter the terminal and use the command
make install-dep
$ make install-depThis will install OpenZeppelin contracts (base contracts & upgradeable ones).
- Create an
.envfile. - Fill the
.envfile with the desired data. It will depend wich script you decide to use, the params that are required to be stored in the file. - Set the rpc url in the
foundry.toml
[rpc_endpoints]
llhh='http://127.0.0.1:8545'
mumbai='http://..../${YOUR_API_KEY}'In case you are using other chain that is not localhost, you will need a rpc end point to uploead a transaction into that network.