https://github.com/shunkakinoki/foundry-safe-script
https://github.com/shunkakinoki/foundry-safe-script
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shunkakinoki/foundry-safe-script
- Owner: shunkakinoki
- License: unlicense
- Created: 2022-08-27T03:33:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T20:53:09.000Z (over 2 years ago)
- Last Synced: 2025-03-06T21:58:04.552Z (2 months ago)
- Language: Solidity
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# foundry-safe-script
A simple foundry script to deploy a Gnosis Safe to
```
forge script src/GnosisDeployer.s.sol --sig "run()" --broadcast --fork-url $YOUR_RPC_HERE -t --sender $YOUR_SENDER_HERE --verify
```## Instructions
1. Change the owners threshold
```solidity
address[] internal owners = new address[](3);
```2. Set the owners of your choice
```solidity
owners[0] = address(0x0000000000000000000000000000000000000001);
owners[1] = address(0x0000000000000000000000000000000000000002);
owners[2] = address(0x0000000000000000000000000000000000000003);
```3. Set a custom threshhold
```solidity
uint256 THRESHHOLD = 3;
```