mirror of
https://github.com/tornadocash/tornado-initiation-ui.git
synced 2024-11-22 17:40:04 +01:00
34f5cbe728
add notifications to deploy
20 lines
379 B
JavaScript
20 lines
379 B
JavaScript
import { Provider } from '../services'
|
|
|
|
const MAIN_NET_ID = 1
|
|
const MAIN_NET_BLOCK_GAS_LIMIT = 7300000
|
|
|
|
const options = {
|
|
config: {
|
|
id: MAIN_NET_ID,
|
|
rpcCallRetryAttempt: 15,
|
|
blockGasLimit: MAIN_NET_BLOCK_GAS_LIMIT,
|
|
},
|
|
}
|
|
|
|
const provider = new Provider(options)
|
|
|
|
export default (context, inject) => {
|
|
inject('provider', provider)
|
|
context.$provider = provider
|
|
}
|