A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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;
|