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.
|
|
|
const inherits = require('util').inherits
|
|
|
|
const Component = require('react').Component
|
|
|
|
const h = require('react-hyperscript')
|
|
|
|
const connect = require('../../metamask-connect')
|
|
|
|
|
|
|
|
module.exports = connect(mapStateToProps)(SeedImportSubview)
|
|
|
|
|
|
|
|
function mapStateToProps (state) {
|
|
|
|
return {}
|
|
|
|
}
|
|
|
|
|
|
|
|
inherits(SeedImportSubview, Component)
|
|
|
|
function SeedImportSubview () {
|
|
|
|
Component.call(this)
|
|
|
|
}
|
|
|
|
|
|
|
|
SeedImportSubview.prototype.render = function () {
|
|
|
|
return (
|
|
|
|
h('div', {
|
|
|
|
style: {
|
|
|
|
},
|
|
|
|
}, [
|
|
|
|
this.props.t('pasteSeed'),
|
|
|
|
h('textarea'),
|
|
|
|
h('br'),
|
|
|
|
h('button', this.props.t('submit')),
|
|
|
|
])
|
|
|
|
)
|
|
|
|
}
|