This is an example project that uses the Gnosis Safe to deploy a contract.
For the the hardhat-safe-deployer plugin is used.
- Run
nvm useto set correct node version - Run
yarnto install dependencies
- Setup env (See
.env.sample) - Run
yarn deploy rinkebyto trigger the deployment process for Rinkeby - Once
deploying "TestContract" [...]is shown open the Safe in the Safe web interface (e.g. https://rinkeby.gnosis.io)
- Confirm and execute the transaction via the Safe web interface

- After deployment verify contract on Etherscan with
yarn verify rinkeby- Note: make sure that Etherscan has indexed the transaction already
- The Safe is exposed as a named account called
deployervia thehardhat-deployplugin (see line 93 of the hardhat config) - The
deployeris used int he deployment task. This will trigger the routing to the Safe web interface (seedeployment_test.ts)