Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Upgrade to web3.js 1.0.0 with subscription support #469

Merged
merged 75 commits into from
May 23, 2018
Merged

Conversation

ryanio
Copy link
Contributor

@ryanio ryanio commented Mar 7, 2018

This PR upgrades meteor-dapp-wallet to use web3.js 1.0.0

The primary benefit is using subscriptions instead of filters, which results in much fewer web3 calls.

Currently waiting for subscription support in MetaMask before merging to not break wallet.ethereum.org for MetaMask users.

Checklist:

  • Test/approve wallet
    • Test/approve in browsers (Chrome, Firefox, etc.)
    • Test/approve in Mist
    • Test/approve in Ethereum Wallet environment
  • Release web3.js beta 31
    • Update wallet and meteor subpackages for beta 31
    • Merge meteor subpackage PRs and update Atmosphere
  • Finalize this PR
  • Subscription support in MetaMask (update: almost there)

For testing, it would be great to help test in both Mist and any other browser with geth in websockets mode (geth --ws --wsorigins "*"). I would appreciate testing: sending transactions, sending erc20 tokens, creating wallets, sending transactions to/from wallets, watching contracts, deploying contracts.

@wolovim
Copy link
Member

wolovim commented Mar 8, 2018

when viewing in firefox, i can see the "add account" button. clicking on it produces the console errors: TypeError: this.callback is not a function and ReferenceError: mist is not defined. the button should only be visible from within mist, right?

@alexvandesande
Copy link

LGTM!

@evertonfraga evertonfraga merged commit e058ca2 into develop May 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants