Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Newsletters

Erik Marks edited this page Oct 1, 2019 · 1 revision

Dan Finlay at September 30, 2019

Hey all, welcome to the second week of the MetaMask plugin system private developer beta!

We’ll be presenting this project at Devcon on Day 3 (October 10) 3:40-4:40pm, in the B8 Theater. We’d love to see you if you’re available to come down, join the discussion, and help others try hacking together some simple plugins.

We’ve made a few fresh changes since last week, which are reflected in the wiki, but we wanted to highlight them here:

Breaking Change: Update Both Repos

We’ve made some changes to how we bundle plugins, so you’ll want to pull down and rebuild/reinstall both the metamask fork and the mm-plugin build tool at the same time to stay compatible.

In addition, in your plugin package.json file’s web3Wallet property, requestedPermissions should be renamed initialPermissions.

New API: Display Custom Assets

We’ve added a new API that allows plugins to render custom items in the user’s token/assets list. You could use this to show an NFT, a subscription, or you could be creative, and render a whole account.

You can check out a full example plugin and dapp in the examples folder of the mm-plugin build tool.

As usual, this is a completely experimental API, no promises that it reaches production, and so we’re eager to hear what changes you think it would need to be production ready, as we draft these many APIs into EIPs.