-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
2 / 22 of 2 issues completedMetaMask/metamask-extension
#31270Closed
2 / 22 of 2 issues completed
Copy link
Labels
release-12.16.0Issue or pull request that will be included in release 12.16.0Issue or pull request that will be included in release 12.16.0snaps-featureSnaps featureSnaps feature
Description
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: CAIP19Identifiername: stringticker: string
Props
addresses: CAIP10Address[]chainIds?: CAIP2ChainId[](Alternative filtering option to passing addresses)selectedAsset?: CAIP19Address
Selectors available here for non-EVM assets:
https://github.com/MetaMask/metamask-extension/blob/103d92c4f6d705e2389f2e723713994e1c035c37/ui/selectors/assets.ts#L13
Sub-issues
Metadata
Metadata
Assignees
Labels
release-12.16.0Issue or pull request that will be included in release 12.16.0Issue or pull request that will be included in release 12.16.0snaps-featureSnaps featureSnaps feature