metamask / eth-token-tracker Goto Github PK
View Code? Open in Web Editor NEWA JS module for tracking Ethereum token balances over block changes
License: ISC License
A JS module for tracking Ethereum token balances over block changes
License: ISC License
Documented in MetaMask/metamask-extension#2162
All the script entries should use yarn
in place of npm
for consistency.
e.g.:
eth-token-tracker/package.json
Line 8 in 53fd362
Token.js uses ethjs, but it is not added as a dependency.
This project is missing a CODEOWNERS file
Following our other libraries, we should add Jest and Jest configuration from the module template and convert the tests to Jest.
This project has some GitHub workflows but they are not up to date with the module template. We should make sure they are up to date.
Following our other libraries, we should lint and format this project with ESLint/Prettier.
@metamask/auto-changelog
as dev dependencylint
and lint:*
package scriptsAfter SafeEventEmitterProvider
is updated to support EIP-1193 and a new version of @metamask/eth-json-rpc-provider
is released, we should adapt to the changes:
sendAsync
will be deprecated; we should use request
instead.
sendAsync
in the tests.@metamask/eth-json-rpc-provider
as a peer dependency to enforce that EthTokenTracker takes this new type of provider.This project should have an .nvmrc
file
Following our other libraries, we should copy the TypeScript configuration from the module template and convert this library to TypeScript, using tsup
to create CJS- and ESM-compatible builds.
We can then drop Browserify and Babel as dependencies.
The token tracker doesn't emit the update
event after the first update if the balance of all tokens is zero. This is because it only emits the update
event if the token balance has changed, and each token balance is initialized with a balance of zero.
For consistency across project, we should switch this project to use Yarn
The CHANGELOG.md
file currently doesn't link to any of the tags. The links should be added.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.