# All files / src/utils networks.js

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66

    18x

     /**
     * Copyright (c) 2018-present, Leap DAO (leapdao.org)
     *
     * This source code is licensed under the Mozilla Public License Version 2.0
     * found in the LICENSE file in the root directory of this source tree.
     */

    module.exports = {
      1: {
        name: 'Mainnet',
        provider: {
          http: 'https://mainnet.infura.io/v3/f039330d8fb747e48a7ce98f51400d65',
          ws: 'wss://mainnet.infura.io/ws/v3/f039330d8fb747e48a7ce98f51400d65',
        },
        etherscanBase: 'https://etherscan.io',
      },
      3: {
        name: 'Ropsten',
        provider: {
          http: 'https://ropsten.infura.io/v3/f039330d8fb747e48a7ce98f51400d65',
          ws: 'wss://ropsten.infura.io/ws/v3/f039330d8fb747e48a7ce98f51400d65',
        },
        etherscanBase: 'https://ropsten.etherscan.io',
      },
      4: {
        name: 'Rinkeby',
        provider: {
          http: 'https://rinkeby.infura.io/v3/f039330d8fb747e48a7ce98f51400d65',
          ws: 'wss://rinkeby.infura.io/ws/v3/f039330d8fb747e48a7ce98f51400d65',
        },
        etherscanBase: 'https://rinkeby.etherscan.io',
      },
      5: {
        name: 'Görli',
        provider: {
          http: 'https://goerli.infura.io/v3/f039330d8fb747e48a7ce98f51400d65',
          ws: 'wss://goerli.infura.io/ws/v3/f039330d8fb747e48a7ce98f51400d65',
        },
        etherscanBase: 'https://goerli.etherscan.io',
      },
      42: {
        name: 'Kovan',
        provider: {
          http: 'https://kovan.infura.io/v3/f039330d8fb747e48a7ce98f51400d65',
          ws: 'wss://kovan.infura.io/ws/v3/f039330d8fb747e48a7ce98f51400d65',
        },
        etherscanBase: 'https://kovan.etherscan.io',
      },
      4447: {
        name: 'Truffle',
        provider: {
          http: 'http://localhost:9545',
          ws: 'ws://localhost:9545',
        },
        etherscanBase: 'https://etherscan.io',
      },
      5777: {
        name: 'Ganache',
        provider: {
          http: 'http://localhost:8545',
          ws: 'ws://localhost:8545',
        },
        etherscanBase: 'https://etherscan.io',
      },
    };