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
AssetSelector
We should implement a way to let the Snap select from the assets in MetaMask without exposing all of the token details to the Snap.
State The selected asset should be reflected in state with an object containing:
asset: CAIP19Identifier
name: string
ticker: string
Props
addresses?: CAIP10Address[]
chainIds?: CAIP2ChainId[]
selectedAsset?: CAIP19Address
Figma link: TBD
The text was updated successfully, but these errors were encountered:
TokenSelector
Maybe it should be assetType for consistency with the naming used in CAIP-19 for tokens.
assetType
Sorry, something went wrong.
LoFi spec: https://www.figma.com/board/1M8AhtE2DHMnahTugMBqie/Core-Accounts-Components?node-id=2-211&t=OkCit1tDxKvbO0QD-1
Design: https://www.figma.com/design/gHWl7G8ih3YXesly2XaA0R/Snaps-DS?node-id=699-3334&t=k2DDgjWRUqW2yedP-1
GuillaumeRx
eriknson
No branches or pull requests
We should implement a way to let the Snap select from the assets in MetaMask without exposing all of the token details to the Snap.
State
The selected asset should be reflected in state with an object containing:
asset: CAIP19Identifier
name: string
ticker: string
Props
addresses?: CAIP10Address[]
(If passed, should filter to only show tokens owned by these addresses)chainIds?: CAIP2ChainId[]
(Alternative filtering option to passing addresses)selectedAsset?: CAIP19Address
Figma link: TBD
The text was updated successfully, but these errors were encountered: