1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/app/scripts/config.js

23 lines
601 B
JavaScript
Raw Normal View History

const MAINET_RPC_URL = 'https://mainnet.infura.io/metamask'
2017-05-16 03:05:11 +02:00
const ROPSTEN_RPC_URL = 'https://ropsten.infura.io/metamask'
2017-05-16 04:11:16 +02:00
const KOVAN_RPC_URL = 'https://kovan.infura.io/metamask'
const RINKEBY_RPC_URL = 'https://rinkeby.infura.io/metamask'
const LOCALHOST_RPC_URL = 'http://localhost:8545'
2016-05-20 01:53:16 +02:00
global.METAMASK_DEBUG = 'GULP_METAMASK_DEBUG'
2016-08-12 04:44:59 +02:00
2016-05-20 01:53:16 +02:00
module.exports = {
network: {
localhost: LOCALHOST_RPC_URL,
2016-05-20 01:53:16 +02:00
mainnet: MAINET_RPC_URL,
2017-05-16 03:05:11 +02:00
ropsten: ROPSTEN_RPC_URL,
2017-05-16 04:11:16 +02:00
kovan: KOVAN_RPC_URL,
rinkeby: RINKEBY_RPC_URL,
2016-05-20 01:53:16 +02:00
},
networkNames: {
3: 'Ropsten',
4: 'Rinkeby',
42: 'Kovan',
},
2016-05-20 01:53:16 +02:00
}