Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: ui skeleton, deployment scripts and addr of dummy factory on goerli-optimism #5

Merged
merged 7 commits into from
Aug 7, 2023
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"anvil": "source .env && anvil --fork-url $ANVIL_FORK_URL --chain-id $ANVIL_CHAIN_ID",
"deploy": "source .env && forge create contracts/src/ModuleFactory.sol:ModuleFactory --rpc-url $FORGE_RPC_URL --private-key $FORGE_PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify",
"deploy:module": "source .env && forge create contracts/src/modules/DummyModule.sol:DummyModule --constructor-args 0x99999315a1AE71633E95fB35601B59180eC8D61d 604800 --rpc-url $FORGE_RPC_URL --private-key $FORGE_PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would suggest not giving the singleton module actual address or cadence values

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added that cmd to have one deployed to allow all the one that we get deployed to be auto-verified, the args does not affect that process

"deploy:anvil": "source .env && forge create contracts/src/ModuleFactory.sol:ModuleFactory --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --legacy",
"dev": "npm run wagmi && vite",
"dev:foundry": "npm run dev & wagmi generate --watch & npm run anvil",
Expand Down