question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New EthereumProvider standard (EIP-1193) breaks this library

See original GitHub issue

As of web3 1.0.0-beta.38, this library no longer works. They’ve updated and standardized the EthereumProvider API, and it uses send() instead of sendAsync().

The result is that all web3 calls throw an error “synchronous requests not supported”.

See: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md


The breaking web3 version: https://github.com/ethereum/web3.js/releases/tag/v1.0.0-beta.38

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kumaviscommented, Mar 18, 2019

Ill add that EIP-1193 status is Draft and that I cant advocate for it unless it requires backwards compatibiliy

1reaction
axiccommented, Mar 18, 2019

Does that mean this repository is obsolete? If so, it should make sense stating that in the readme.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EIP-1193: Ethereum Provider JavaScript API
This EIP formalizes an Ethereum Provider API to promote wallet interoperability. The API is designed to be minimal, event-driven, ...
Read more >
EIP-5749: The 'window.evmproviders' object
Abstract A Javascript Ethereum Provider interface injection that will allow for the interoperability of multiple browser wallets at the same time.
Read more >
What is Metamask's ethereum.window object? - Stack Overflow
MetaMask states in their docs that the extension implements the EIP-1193: Ethereum Provider JavaScript API. It's a standardized set of rules ...
Read more >
Breaking Changes to the MetaMask Inpage Provider - Medium
This post will be updated once the new API is available. ... which new provider standards like EIP 1102 and EIP 1193 take...
Read more >
What is the standart for "params" in EIP-1193 (Ethereum ...
Read the relevant docs here and here. In regards to eth_sign and eth_signTypedData , which were implemented in EIP712, these params are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found