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

feat(cast): add artifact method #9249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pawurb
Copy link
Contributor

@pawurb pawurb commented Nov 1, 2024

Motivation

Building up on #9029 , this PR adds artifact method. It produces a JSON file that can be used with sol! macro to deploy contracts locally.

Usage

cast artifact 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 --etherscan-api-key $API_KEY --rpc-url $ETH_RPC_URL -o weth.json

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