Skip to content

Conversation

@szerintedmi
Copy link
Member

@szerintedmi szerintedmi commented Apr 26, 2019

Nature of the PR: chore

  • use websocket connection for local tests (required because HttpProvider is deprecating with web3 and augmint-js only supports websocket yet)
  • completely replaced ethers.js events with web3 events (not final way just first pass) 🚀
  • removed ethers.js dependency - not needed anymore 🚀
  • connect with EthereumConnection (given provider)
  • use augmint-js Exchange for matchMultipleOrders
  • use augmint-js Exchange.getOrders
  • use augmint-js placeBuyOrder and placeSellOrder

Bundle size

With augmint-js and removed ethers package

  481.8 KB   build/static/js/2.cbb8e226.chunk.js
  150.13 KB  build/static/js/main.4300dd41.chunk.js
  11.12 KB   build/static/css/main.e4a2fa00.chunk.css
  763 B      build/static/js/runtime~main.d653cc00.js

@szerintedmi
Copy link
Member Author

szerintedmi commented Apr 26, 2019

Deploy preview for augmint ready!

Built with commit 6b00ec5

https://deploy-preview-597--augmint.netlify.com

@szerintedmi szerintedmi requested a review from phraktle May 9, 2019 00:21
Copy link
Contributor

@phraktle phraktle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only semantic question is if the duplicate event delivery is indeed a web3 bug. The rest is minor / stylistic.

phraktle
phraktle previously approved these changes May 9, 2019
@szerintedmi szerintedmi requested a review from phraktle May 9, 2019 08:55
@phraktle phraktle merged commit 59469eb into staging May 9, 2019
@phraktle phraktle deleted the use_augmint_js branch May 9, 2019 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants