UNPKG

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