Skip to content
New issue

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

EIP-1193: Decouple window implementation from interface #2090

Closed
wants to merge 4 commits into from
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions EIPS/eip-1193.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ created: 2018-06-30

## Summary

This EIP formalizes an Ethereum Provider JavaScript API for consistency across clients and applications. The provider is designed to be minimal and is intended to be available on `window.ethereum` for cross environment compatibility.
This EIP formalizes an Ethereum Provider JavaScript API for consistency across clients and applications. The provider is designed to be minimal and compatible cross environments.
pedrouid marked this conversation as resolved.
Show resolved Hide resolved

## API

Expand Down Expand Up @@ -108,8 +108,6 @@ The event emits with `accounts`, an array of the accounts' addresses.
## Examples

```js
const ethereum = window.ethereum;

// A) Set provider in web3.js
var web3 = new Web3(ethereum);

Expand Down