mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01: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
|
|
}
|