UNPKG

@hethers/constants

Version:

Common EVM & Hedera Hashgraph constants used for hethers.

39 lines (29 loc) 933 B
Hashgraph Constants ================== This sub-module is part of the [hethers project](https://github.com/hashgraph/hethers.js). It is a fork of the original [ethers project](https://github.com/ethers-io/ethers.js) sub-module. It contains many frequently used constants when dealing with Hedera Hashgraph. For more information, see the [documentation](https://docs.hedera.com/hethers/application-programming-interface/utilities/constants). Importing --------- Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/@hashgraph/hethers), but for those with more specific needs, individual components can be imported. ```javascript const { AddressZero, NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256, TinybarPerHbar, HashZero, EtherSymbol, HBarSymbol } = require("@hethers/constants"); ``` License ------- MIT License