alloy-rs / alloy-rs/alloy

[Feature] ENS normalise

Ouverte
#3,092 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Rust
Étoiles
1.3k
Forks
668
Merge moyen
2 j 2 h
PR mergées (30 j)
29

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.