|
|
@ -74,42 +74,6 @@ ConfigScreen.prototype.render = function () { |
|
|
|
}, 'Save'), |
|
|
|
}, 'Save'), |
|
|
|
]), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
h('div', [ |
|
|
|
|
|
|
|
h('button.spaced', { |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
alignSelf: 'center', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
onClick (event) { |
|
|
|
|
|
|
|
event.preventDefault() |
|
|
|
|
|
|
|
state.dispatch(actions.setProviderType('mainnet')) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, 'Use Main Network'), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div', [ |
|
|
|
|
|
|
|
h('button.spaced', { |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
alignSelf: 'center', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
onClick (event) { |
|
|
|
|
|
|
|
event.preventDefault() |
|
|
|
|
|
|
|
state.dispatch(actions.setProviderType('testnet')) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, 'Use Morden Test Network'), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div', [ |
|
|
|
|
|
|
|
h('button.spaced', { |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
alignSelf: 'center', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
onClick (event) { |
|
|
|
|
|
|
|
event.preventDefault() |
|
|
|
|
|
|
|
state.dispatch(actions.setRpcTarget('http://localhost:8545/')) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, 'Use http://localhost:8545'), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('hr.horizontal-line'), |
|
|
|
h('hr.horizontal-line'), |
|
|
|
|
|
|
|
|
|
|
|
h('div', { |
|
|
|
h('div', { |
|
|
|