fix: always set new web3 providers despite one being previously set
feat: separate eth wallet names
This commit is contained in:
parent
c94d767f0b
commit
4af07a3609
4 changed files with 12 additions and 10 deletions
|
|
@ -1,9 +1,15 @@
|
|||
const _ = require('lodash/fp')
|
||||
|
||||
const base = require('./base')
|
||||
|
||||
const { utils: coinUtils } = require('@lamassu/coins')
|
||||
const cryptoRec = coinUtils.getCryptoCurrency('ETH')
|
||||
const defaultPort = cryptoRec.defaultPort
|
||||
|
||||
base.connect(`http://localhost:${defaultPort}`)
|
||||
const NAME = 'geth'
|
||||
|
||||
module.exports = base
|
||||
function run (account) {
|
||||
base.connect(`http://localhost:${defaultPort}`)
|
||||
}
|
||||
|
||||
module.exports = _.merge(base, { NAME, run })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue