2021-02-04 19:15:23 +01:00
|
|
|
import { NETWORK_TYPE_RPC } from '../../shared/constants/network';
|
2021-01-20 17:49:05 +01:00
|
|
|
|
2018-07-31 05:18:01 +02:00
|
|
|
/**
|
|
|
|
* @typedef {Object} FirstTimeState
|
|
|
|
* @property {Object} config Initial configuration parameters
|
|
|
|
* @property {Object} NetworkController Network controller state
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {FirstTimeState}
|
|
|
|
*/
|
|
|
|
const initialState = {
|
|
|
|
config: {},
|
2019-07-31 22:17:11 +02:00
|
|
|
NetworkController: {
|
|
|
|
provider: {
|
2021-01-20 17:49:05 +01:00
|
|
|
type: NETWORK_TYPE_RPC,
|
2020-10-06 19:57:02 +02:00
|
|
|
rpcUrl: 'http://localhost:8545',
|
2020-10-12 21:05:40 +02:00
|
|
|
chainId: '0x539',
|
2018-07-31 05:18:01 +02:00
|
|
|
},
|
2019-07-31 22:17:11 +02:00
|
|
|
},
|
2021-02-04 19:15:23 +01:00
|
|
|
};
|
2018-07-31 05:18:01 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export default initialState;
|