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

Conversation

petrovska-petro
Copy link
Collaborator

@petrovska-petro petrovska-petro commented Aug 6, 2023

Goerli Opti dummy factory addr is plugged here

Test:

  1. run npm run dev
  2. connect a goerli opti addr with eth
  3. Try to deploy directly from the ui with a dummy addr and one of the 3 cadence options

Sample of txs thru ui:

Copy link
Contributor

@gosuto-inzasheru gosuto-inzasheru left a comment

Choose a reason for hiding this comment

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

was able to deploy via local ui!!

next steps i see:

  • grab config from deployed module
    • display current config
    • alter current config
  • connect using actual safe
  • deploy module and enableModule on safe

@@ -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

README.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe keep/write our own readme?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated 161491e. left only a ref to the starter package for now

@gosuto-inzasheru gosuto-inzasheru merged commit bfc43cc into main Aug 7, 2023
@gosuto-inzasheru gosuto-inzasheru deleted the feat/hook-starter-pack branch August 7, 2023 13:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants