JSPM

@ethersproject/math

6.0.0-beta.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q39435F
  • License MIT

Ethers math utilities and operations.

Package Exports

  • @ethersproject/math
  • @ethersproject/math/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ethersproject/math) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Math Utilities

This is a beta version of the next release of ethers. Please do not use it in production yet.

This package provides common math operations required when operating with EVM-based blockchain actions.

  • Fixed Number class
  • Twos Compliment
  • Conversion between arrays, hexstrings, numbers and bigint
  • Base58 encoding
  • Unit converstion (e.g. wei to ether)

License

MIT License.