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(sol-macro): add #[sol(rpc)] to generate type-safe provider contract calls #510

Merged
merged 6 commits into from
Feb 7, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Feb 4, 2024

Adds #[sol(rpc)] to generate type-safe bindings for creating JSON-RPC eth_calls to on-chain contracts (alloy-contract, alloy-providers)

See alloy-rs/alloy#182 for more details, examples and tests

@DaniPopes DaniPopes force-pushed the dani/sol-rpc branch 3 times, most recently from b69302f to c6eb6c0 Compare February 4, 2024 23:58
@DaniPopes DaniPopes marked this pull request as ready for review February 5, 2024 00:14
@DaniPopes DaniPopes force-pushed the dani/sol-rpc branch 3 times, most recently from 8c1c044 to a64c0ce Compare February 5, 2024 00:39
Copy link
Member

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

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

lgtm

@DaniPopes DaniPopes merged commit 18b0509 into main Feb 7, 2024
21 checks passed
@DaniPopes DaniPopes deleted the dani/sol-rpc branch February 7, 2024 18:00
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