JSPM

  • Created
  • Published
  • Downloads 1387537
  • Score
    100M100P100Q192204F
  • License MIT

Common Ethereum constants used for ethers.

Package Exports

  • @ethersproject/constants
  • @ethersproject/constants/lib.esm/index.js
  • @ethersproject/constants/lib/addresses
  • @ethersproject/constants/lib/addresses.js
  • @ethersproject/constants/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ethersproject/constants) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Etehreum Constants

This sub-module is part of the ethers project.

It contains many frequently used constants when dealing with Ethereum.

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,
    HashZero,

    EtherSymbol,

    NegativeOne,
    Zero,
    One,
    Two,

    WeiPerEther,
    MaxUint256

} = require("@ethersproject/constants");

License

MIT License