mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
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
|
|
}
|