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

[DRAFT] Introduce Chain Id 0 (EOA Chain Id) #7

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

lucemans
Copy link
Member

@lucemans lucemans commented Sep 23, 2024

TLDR; https://namespaces.chainagnostic.org/eip155/caip10#caip-10 assumes evm chain id 0 is "EOA" chain id.

We would like to extend this functionality into ENS leveraging the already existing ENSIP-9.

Still looking for feedback on:

  • naming choice: EOA vs ChainID-0 vs Fallback Address
  • client-side vs public resolver implementation

@lucemans lucemans marked this pull request as draft September 23, 2024 09:48
@lucemans lucemans marked this pull request as ready for review September 23, 2024 09:52
@lucemans lucemans changed the title Introduce Chain Id 0 (EOA Chain Id) [DRAFT] Introduce Chain Id 0 (EOA Chain Id) Sep 23, 2024
Copy link

cloudflare-workers-and-pages bot commented Sep 23, 2024

Deploying ensips with  Cloudflare Pages  Cloudflare Pages

Latest commit: c325c9f
Status: ✅  Deploy successful!
Preview URL: https://f36242eb.ensips.pages.dev
Branch Preview URL: https://ensip-chain-id-0.ensips.pages.dev

View logs

@GriffGreen
Copy link

YAY!!! THIS IS GREAT! So glad it's moving forward.

ensips/x.md Outdated

There are multiple routes around implementing this;

For the short-term; we can already use this specification in our apps today (see Appendix A).
Copy link
Member

@makoto makoto Oct 29, 2024

Choose a reason for hiding this comment

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

Does out apps mean https://app.ens.domains/ or you mean anyone's app? Probably better to rephrase to be more explicit


## Specification

This ENSIP aims to extend the functionality introduced in [ENSIP-9](./9) and [ENSIP-11](./11) and simply relies on the same functionality.
Copy link
Member

Choose a reason for hiding this comment

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

Probably it should mention https://docs.ens.domains/ensip/19 as step 9 also incorporates chainid 0 as a fallback mechanism.


### Public Resolver

The public resolver could choose to implement a fallback mechanism for EOA addresses.
Copy link
Member

Choose a reason for hiding this comment

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

Can UniversalResolver also implement the logic?

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