We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AccountSelector
Blocked by lack of chain IDs in the AccountsController state.
We should introduce a component that lets a Snap select from the accounts that the user has without exposing all of the accounts to the Snap.
State The selected account should be reflected in state with an object containing:
addresses: CAIP10Address[]
accountId: string
Props
hideExternalAccounts?: boolean
chainIds?: CAIP2ChainId[]
switchSelectedAccount?: boolean
selectedAccountId?: string
selectedAddress?: CAIP10Address
Figma link: TBD
The text was updated successfully, but these errors were encountered:
LoFi spec: https://www.figma.com/board/1M8AhtE2DHMnahTugMBqie/Core-Accounts-Components?node-id=1-403&t=OkCit1tDxKvbO0QD-1
Sorry, something went wrong.
Design: https://www.figma.com/design/gHWl7G8ih3YXesly2XaA0R/Snaps-DS?node-id=627-4667&t=k2DDgjWRUqW2yedP-1
GuillaumeRx
eriknson
No branches or pull requests
Blocked by lack of chain IDs in the AccountsController state.
We should introduce a component that lets a Snap select from the accounts that the user has without exposing all of the accounts to the Snap.
State
The selected account should be reflected in state with an object containing:
addresses: CAIP10Address[]
accountId: string
(only if the Snap owns the account)Props
hideExternalAccounts?: boolean
(should hide non-owned accounts)chainIds?: CAIP2ChainId[]
switchSelectedAccount?: boolean
(should switch the globally selected network)selectedAccountId?: string
selectedAddress?: CAIP10Address
Figma link: TBD
The text was updated successfully, but these errors were encountered: