fix mainnet rpc

This commit is contained in:
Drygin 2022-02-17 01:06:29 +03:00
parent 29a804fb93
commit b19bac4d92
2 changed files with 2 additions and 1 deletions

View File

@ -6,3 +6,4 @@ MINIMUM_WITHDRAWAL_AMOUNT=0.05
MAXIMUM_DEPOSIT_AMOUNT=1
ALCHEMY_KEY=
INFURA_API_KEY=
ETHERSCAN_KEY=

View File

@ -88,7 +88,7 @@ const config = {
},
},
mainnet: {
url: process.env.ETH_RPC || '',
url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`,
accounts: process.env.PRIVATE_KEY
? [process.env.PRIVATE_KEY]
: {