@fuel-ts/math
@fuel-ts/math is a sub-module for interacting with Fuel.
This module contains helpful math utilities to work with decimal, hex, Uint8Array.
Math is based in bn.js library, which helps us to do all kinds of calculations safely, doesn't matter the size of the number.
Table of contents
Documentation
See Fuels-ts Documentation
Usage
Installation
pnpm add @fuel-ts/math
npm add @fuel-ts/math
Full SDK Installation
Alternatively, we recommend you install the complete SDK using the umbrella package:
pnpm add fuels
npm add fuels
Contributing
In order to contribute to @fuel-ts/math, please see the main fuels-ts monorepo.
Changelog
The @fuel-ts/math changelog can be found at CHANGELOG.
License
The primary license for @fuel-ts/math is Apache 2.0, see LICENSE.