1 | Ethereum (and ilk) Network Definitions
|
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 tracking common networks along with important
|
7 | parameters for each.
|
8 |
|
9 | For more information, see the [documentation](https://docs.ethers.io/v5/api/providers/types/#providers-Network).
|
10 |
|
11 | Importing
|
12 | ---------
|
13 |
|
14 | Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
|
15 | but for those with more specific needs, individual components can be imported.
|
16 |
|
17 | ```javascript
|
18 | const {
|
19 |
|
20 | getNetwork,
|
21 |
|
22 | // Types
|
23 |
|
24 | Network,
|
25 | Networkish
|
26 |
|
27 | } = require("@ethersproject/networks");
|
28 | ```
|
29 |
|
30 |
|
31 | License
|
32 | -------
|
33 |
|
34 | MIT License
|