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

Allow EIP-3770 chain-specific addresses #74

Open
germartinez opened this issue Sep 24, 2021 · 1 comment
Open

Allow EIP-3770 chain-specific addresses #74

germartinez opened this issue Sep 24, 2021 · 1 comment
Assignees

Comments

@germartinez
Copy link
Member

Overview

We are pushing to implement EIP-3770 address references, which include a prefixed chain id before an address. We need to allow users to input addresses with a chain prefix.

image

Goals

  • Accept/validate EIP-3770 address input.

Requirements

  • Modify inputs/validation to allow EIP-3770 address formats.
  • Validate networks against this map. (A service will likely be created for this but it is acceptable to do this client-side in the web app.)
  • Validate that prefixed addresses match those of the current network.

Links

Kick off notes

@germartinez germartinez self-assigned this Feb 1, 2022
This was referenced Feb 22, 2022
@PeterTheOne
Copy link

PeterTheOne commented Jun 3, 2022

How about adding a getChainIdFromEip3770Address(address: Eip3770Address): number function?

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

No branches or pull requests

2 participants