@ethersproject/constants
Common Ethereum constants used for ethers.
Last updated 5 years ago by ricmoo .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @ethersproject/constants 
SYNC missed versions from official npm registry.

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

Current Tags

  • 5.8.0                                ...           latest (a year ago)

38 Versions

  • 5.8.0                                ...           a year ago
  • 5.7.0                                ...           4 years ago
  • 5.6.1                                ...           4 years ago
  • 5.6.0                                ...           4 years ago
  • 5.5.0                                ...           4 years ago
  • 5.4.0                                ...           5 years ago
  • 5.3.0                                ...           5 years ago
  • 5.2.0                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.10                                ...           5 years ago
  • 5.0.9                                ...           5 years ago
  • 5.0.8                                ...           5 years ago
  • 5.0.7                                ...           5 years ago
  • 5.0.6                                ...           5 years ago
  • 5.0.5                                ...           6 years ago
  • 5.0.4                                ...           6 years ago
  • 5.0.3                                ...           6 years ago
  • 5.0.2                                ...           6 years ago
  • 5.0.1                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 5.0.0-beta.134                                ...           6 years ago
  • 5.0.0-beta.133                                ...           6 years ago
  • 5.0.0-beta.132                                ...           6 years ago
  • 5.0.0-beta.131                                ...           6 years ago
  • 5.0.0-beta.130                                ...           7 years ago
  • 5.0.0-beta.129                                ...           7 years ago
  • 5.0.0-beta.128                                ...           7 years ago
  • 5.0.0-beta.127                                ...           7 years ago
  • 5.0.0-beta.126                                ...           7 years ago
  • 5.0.0-beta.125                                ...           7 years ago
  • 5.0.0-beta.124                                ...           7 years ago
  • 5.0.0-beta.123                                ...           7 years ago
  • 5.0.0-beta.122                                ...           7 years ago
  • 5.0.0-beta.121                                ...           7 years ago
  • 5.0.0-beta.120                                ...           7 years ago
  • 5.0.0-beta.119                                ...           7 years ago
  • 5.0.0-beta.118                                ...           7 years ago
  • 5.0.0-beta.117                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |