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

Implement AddressInput component #2812

Closed
FrederikBolding opened this issue Oct 8, 2024 · 2 comments · Fixed by #3129
Closed

Implement AddressInput component #2812

FrederikBolding opened this issue Oct 8, 2024 · 2 comments · Fixed by #3129
Assignees

Comments

@FrederikBolding
Copy link
Member

FrederikBolding commented Oct 8, 2024

We should introduce a component for managing address inputs, when an address has been entered, we can resolve that to a display name, avatar etc.

State
The state for this component should simply be a CAIP-10 address.

Props

  • chainId: CAIP2ChainId (Required and can be used to construct the CAIP-10 address)
  • value?: string
  • placeholder?: string

Can be nestable in field component.

Figma link: Below

@eriknson
Copy link
Member

@ajeetd ajeetd assigned hmalik88 and unassigned GuillaumeRx and eriknson Feb 11, 2025
github-merge-queue bot pushed a commit that referenced this issue Mar 21, 2025
Closes #2812 

This adds an `AddressInput` component that takes a CAIP-2 `chainId` to
identify the chain the address needs resolution on and resolves to a
display name and avatar (if it exists). The resolution is to be made
against the user's own saved accounts.

---------

Co-authored-by: Guillaume Roux <hello@guillaumerx.fr>
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 a pull request may close this issue.

4 participants