@hethers/constants
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Hashgraph Constants

This sub-module is part of the hethers project. It is a fork of the original ethers project sub-module.

It contains many frequently used constants when dealing with Hedera Hashgraph.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {
    AddressZero,
    NegativeOne,
    Zero,
    One,
    Two,
    WeiPerEther,
    MaxUint256,
    MinInt256,
    MaxInt256,
    TinybarPerHbar,
    HashZero,
    EtherSymbol,
    HBarSymbol
} = require("@hethers/constants");

License

MIT License

Package Sidebar

Install

npm i @hethers/constants

Weekly Downloads

932

Version

1.2.0

License

MIT

Unpacked Size

20.2 kB

Total Files

57

Last publish

Collaborators

  • kalinatodorova
  • daniel.k.ivanov