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

Feature request: Add verify command in generated bindings #72

Open
karacurt opened this issue Sep 26, 2024 · 0 comments
Open

Feature request: Add verify command in generated bindings #72

karacurt opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@karacurt
Copy link
Collaborator

karacurt commented Sep 26, 2024

Problem: developers often need to verify the contracts on the chain after using the deploy command in a binding contract.
Solution: I propose implementing a verify command that could verify the contract and a --verify flag that could be used with a deploy command to deploy and verify in the same CLI call.

Example of what would be a verify command:

ERC20 verify --api-url api.rpc.com --api-key $API_KEY --contract TOKEN_ADDRESS --name Token --symbol Symbol --decimals 18

Example of what would be a --verify flag:

ERC20 deploy --rpc rpc.com --keyfile ~/.secrets/keyfile.json --name Token --symbol Symbol --decimals 18 --verify --api-url api.rpc.com --api-key $API_KEY
@karacurt karacurt added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant