Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scripts and JS for previewing DAOs #27

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Add scripts and JS for previewing DAOs #27

wants to merge 7 commits into from

Conversation

iainnash
Copy link
Contributor

Deploy all contracts

WETH_ADDRESS=0xc778417E063141139Fce010982780140Aa0cD5Ab FOUNDERS_DAO=0x9444390c01Dd5b7249E53FAc31290F7dFF53450D forge script ./script/DeployContracts.s.sol -vvv --rpc-url $RPC_URL --broadcast -i 1 --sender $SENDER --verify --etherscan-api-key $ETHERSCAN_API_KEY --retries 3

Setup new DAO

FOUNDERS_DAO=0x9444390c01Dd5b7249E53FAc31290F7dFF53450D MANAGER=0xDC76E2DD4BDC3EDF718b3e30F855Ef975a411A37 forge script ./script/DeployNewDAO.s.sol --rpc-url $RPC_URL --broadcast -i 1 --sender $SENDER --verify --etherscan-api-key $ETHERSCAN_API_KEY --retries 3 -vvvv

Create Proposal and Vote

ts-node script/js/createProposal.ts bid 0xe2c667042bcc7760ecabdb50beae974fd65bdacd --pk $PRIVATE_KEY --rpc-url $RPC_URL --manager 0xdc76e2dd4bdc3edf718b3e30f855ef975a411a37 --token 0xf4bb221198ede8860e42806cf4268ef72ec50718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant