0xWeb
Search
K

Utilities

There is a bunch of utility functions you can use:
  • $bigint - bigint helper to convert wei, gwei, ether ; float multiplying and division
  • $date - lots of date methods - replaces moment.js and date.js libraries
  • $require - 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.