mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
7077ee68dc
* Refactor network display props * Add NETWORK_TYPE_RPC constant * Consolidate network constants
24 lines
485 B
JavaScript
24 lines
485 B
JavaScript
import { NETWORK_TYPE_RPC } from '../../shared/constants/network'
|
|
|
|
/**
|
|
* @typedef {Object} FirstTimeState
|
|
* @property {Object} config Initial configuration parameters
|
|
* @property {Object} NetworkController Network controller state
|
|
*/
|
|
|
|
/**
|
|
* @type {FirstTimeState}
|
|
*/
|
|
const initialState = {
|
|
config: {},
|
|
NetworkController: {
|
|
provider: {
|
|
type: NETWORK_TYPE_RPC,
|
|
rpcUrl: 'http://localhost:8545',
|
|
chainId: '0x539',
|
|
},
|
|
},
|
|
}
|
|
|
|
export default initialState
|