16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
const { rpcUrl } = require('../config')
|
|
const Fetcher = require('./Fetcher')
|
|
const Sender = require('./sender')
|
|
const { GasPriceOracle } = require('gas-price-oracle')
|
|
const web3 = require('./setupWeb3')
|
|
const fetcher = new Fetcher(web3)
|
|
const sender = new Sender(web3)
|
|
const gasPriceOracle = new GasPriceOracle({ defaultRpc: rpcUrl })
|
|
|
|
module.exports = {
|
|
fetcher,
|
|
web3,
|
|
sender,
|
|
gasPriceOracle
|
|
}
|