✨Utilities

There is a bunch of utility functions you can use:

https://github.com/0xweb-org/dequanto/tree/master/src/utilsarrow-up-right

  • $bigintarrow-up-right - bigint helper to convert wei, gwei, ether ; float multiplying and division

  • $datearrow-up-right - lots of date methods - replaces moment.js and date.js libraries

  • $requirearrow-up-right - assertion utilities. You should use assertions in the blockchain development much more often, as any small error can lead to huge losses

  • ...

Please, go through the code, maybe you'll find something for your needs.

Last updated