alloy-rs / alloy-rs/alloy

[Feature] ENS normalise

Đang mở
#3,092 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Rust
Star
1.3k
Fork
668
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
29

Mô tả

### Component

other

### Describe the feature you would like

ENS crate doesn't have ```normalise``` function. This is needed as it was stated in [ENSIP-15](https://docs.ens.domains/ensip/15/). Normalise parses the domain before passing it to the resolver smart contract.

There are 2 ways i can go about this:
1. Use [ens-normalize-rs](https://crates.io/crates/ens-normalize-rs), to implement the function. This helps by reducing code needed to maintain.
2. Creating from scratch the normalization algorithm. Ideally i would not recommend this, but I can work on it.

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.