@alexangelj/web3-units
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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!

/@alexangelj/web3-units/

    Package Sidebar

    Install

    npm i @alexangelj/web3-units

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    49.7 kB

    Total Files

    23

    Last publish

    Collaborators

    • alexangelj