Automatically merged updates to draft EIP(s) 1102

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
This commit is contained in:
Paul Bouchon 2018-11-08 09:21:23 -05:00 committed by EIP Automerge Bot
parent ef0947d23c
commit ff95512550
1 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,16 @@ Providers exposed by Ethereum-enabled DOM environments define a new RPC method:
ethereum.send('eth_requestAccounts'): Promise<string>
```
#### Provider#enable (DEPRECATED)
**Note: This method is deprecated in favor of the RPC method [`eth_requestAccounts`](#eth_requestAccounts).**
Providers exposed by DOM environments define a new enable method that returns a Promise. Calling this method triggers a user interface that allows the user to approve or deny full provider access for a given dapp. The returned Promise is resolved if the user approves full provider access or rejected if the user denies full provider access.
```js
ethereum.enable(): Promise<any>
```
### Protocol
#### Legacy dapp initialization