add weth 2 eth support in crowdpooling

This commit is contained in:
牛涛涛
2021-01-08 02:00:37 +08:00
parent 7bbcdd506d
commit e2484122a0

View File

@@ -13,7 +13,7 @@ import Web3 from 'web3';
export function getDefaultWeb3() {
return new Web3(process.env.RPC_NODE_URI)
}
process.env.RPC_NODE_URI="http://127.0.0.1:8545"
export class EVM {
private provider = new Web3.providers.HttpProvider(process.env.RPC_NODE_URI);