Skip to content

An idea for automatic handling of EVM chains #349

@DefiDebauchery

Description

@DefiDebauchery

The README for EVM chain integration is slightly ambiguous - it first mentions that submissions are either based on SLIP44, or a bitwise OR using the chain ID. Later, under PR requirements, you mention that you check for a SLIP44 submission. It doesn't seem that SLIP44 was meant to be used this way for EVM networks that don't use a unique derivation path.

Given that you're already relying on third-party resources for this data, would it reduce overhead if ENS simply adopted ethereum-lists/chains? Other than the fact that it includes testnet networks (with no attribute to filter, which we could probably ask for), their 'mini' json endpoint has everything needed to incorporate chains quickly. This would be of great use on the ENS frontend, where perhaps we could specify chainId (instead of Cointype) for our address records.

I imagine this may come with a small risk of collisions of SLIP44, but with the EVM-specific methods, I feel like that could be mitigated. Even if you don't want to support every network by default, I still think more clarity and an easier integration process would be incredibly useful for ENS end-users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions