MetaMask / metamask-snaps-beta

Fork of MetaMask that supports plugins! Read the Wiki!
https://github.com/MetaMask/metamask-snaps-beta/wiki
MIT License
142 stars 57 forks source link

Design/finalize custom asset API #111

Closed danfinlay closed 2 years ago

danfinlay commented 4 years ago

The current plugin beta has a custom asset management api, which allows plugins to list their assets in the main token list.

I say asset instead of tokens, because these don't need to be tokens, they can be anything a plugin chooses to render. So far we've seen a few of these built!:

The current implementation allows just a few things to be provided here:

There are also some security critical features of these.

rekmarks commented 2 years ago

Complex feature that will be tracked elsewhere.