alloy
alloy copied to clipboard
[Feature] ENS CCIP Reads
Component
other
Describe the feature you would like
CCIP reads when enabled with be helpful for ens resolution. There seem to be a crate for it already at
https://crates.io/crates/alloy-ccip-read
The feature I am proposing is adding this CCIP reading to the ens crate. Something like
.with_ccip_read(gateway_url: vec![]) While building the provider, which is then used by ens for resolution.
Additional context
No response
✋
This can be solved in the linked crate by them providing a Provider extension trait, like the one we provide in alloy-ens: https://github.com/alloy-rs/alloy/blob/165f5a60abf7c6653eb7fa5a0416fc7935ef10fa/crates/ens/src/lib.rs#L145-L197