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 info how to generate artifact file #53

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

pawurb
Copy link
Contributor

@pawurb pawurb commented Sep 26, 2024

Hi. For me it wasn't at first obvious what format of the file is needed. I think adding this explanation will be helpful.

@DaniPopes
Copy link
Member

Good catch! It's either a JSON ABI array, or an artifact from hardhat/forge, mainly an object with "abi" as a field.

The example here is worded weirdly since it mentions "Solidity file" while showing a JSON file path; you can check docs.rs for the full macro docs.

@DaniPopes DaniPopes merged commit 0671228 into alloy-rs:main Sep 26, 2024
2 checks passed
@pawurb pawurb deleted the artifacts_foundry branch September 26, 2024 15:40
@zerosnacks
Copy link
Member

Thanks!

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.

3 participants