EIP-1102: How to prepare your dapp

Paul Bouchon
Oct 19, 2018 · 2 min read

On November 2nd, MetaMask and other dapp browsers will stop exposing user accounts to webpages by default. Instead, dapps must request access to user accounts using a new provider method: provider.enable(). This developer-focused article contains all notable changes for the upcoming November 2nd MetaMask release.

1. Use window.ethereum

2. Call ethereum.enable()

3. Learn about “privacy mode”

4. Test your dapp

  1. Download a custom build here.
  2. Install the build following these instructions.
  3. Enable “privacy mode” in the MetaMask settings menu.
  4. Report any issues on Github.

Thank you to the community members who have helped define and improve this proposal over the past couple weeks. As always, we appreciate your feedback!

Find the original EIP 1102 here and MetaMask’s implementation here.

MetaMask

MetaMask is a bridge that allows you to visit the distributed web of tomorrow in your browser today. It allows you to run Ethereum dApps right in your browser without running a full Ethereum node.

Paul Bouchon

Written by

MetaMask

MetaMask

MetaMask is a bridge that allows you to visit the distributed web of tomorrow in your browser today. It allows you to run Ethereum dApps right in your browser without running a full Ethereum node.