1 | Ethereum Address Utilities
|
2 | ==========================
|
3 |
|
4 | This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).
|
5 |
|
6 | It is responsible for encoding, verifying and computing checksums for
|
7 | Ethereum addresses and computing special addresses, such as those
|
8 | enerated by and for contracts under various situations.
|
9 |
|
10 | For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/address/).
|
11 |
|
12 | Importing
|
13 | ---------
|
14 |
|
15 | Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
|
16 | but for those with more specific needs, individual components can be imported.
|
17 |
|
18 | ```javascript
|
19 | const {
|
20 |
|
21 | getAddress,
|
22 | isAddress,
|
23 |
|
24 | getIcapAddress,
|
25 |
|
26 | getContractAddress,
|
27 | getCreate2Address
|
28 |
|
29 | } = require("@ethersproject/address");
|
30 | ```
|
31 |
|
32 | License
|
33 | -------
|
34 |
|
35 | MIT License
|