0xWeb
  • 0xWeb
  • πŸ’»Installation
  • πŸ—ƒοΈBlockchains
  • πŸ“¦Package Manager
    • πŸ“‚Folder structure
    • πŸš€Dequanto dependency
    • πŸŽ†Installing contracts
    • πŸ”’Versioning
  • πŸ”Wallet
    • πŸ”‘Keys notice
    • πŸ™‚Accounts
  • πŸ’»CLI
    • Commands Overview
  • πŸ—„οΈGnosis Safe
    • πŸ™†β€β™‚οΈZero Trust Wallet
  • πŸš€Dequanto
    • ℹ️Info
    • πŸ•ΈοΈRPC Client Pool
    • πŸ—οΈTx Builder
    • πŸ“€Tx Writer
    • ⛓️Blockchain Explorers
    • πŸͺ™Token Services
    • πŸ—ƒοΈIndexer
    • ✨Utilities
  • ⛑️Hardhat
    • ℹ️Info
    • ⬇️Installation
    • 🧩Compile
    • πŸ’«Deploy
  • 0️Openzeppelin
    • Openzeppelin contracts
Powered by GitBook
On this page
  1. Dequanto

Utilities

PreviousIndexerNextInfo

Last updated 3 years ago

There is a bunch of utility functions you can use:

  • - bigint helper to convert wei, gwei, ether ; float multiplying and division

  • - lots of date methods - replaces moment.js and date.js libraries

  • - 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.

πŸš€
✨
https://github.com/0xweb-org/dequanto/tree/master/src/utils
$bigint
$date
$require