0.1.0 • Published 3 years ago

@alexangelj/web3-units v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Simple Web3 Units

This packagage includes several classes which extend ethers.js with clearer ways to convert between unit types. Not sure which to use for values from smart contract calls? BigNumbers? BigNumberishes? Strings? Numbers? BNs? Simple, just use the Wei class. Which has properties to easily convert to any of those types!