skyfffire 3 anos atrás
pai
commit
b74ecdbbc4
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      hardhat.config.ts

+ 2 - 2
hardhat.config.ts

@@ -7,8 +7,8 @@ import {HardhatRuntimeEnvironment} from "hardhat/types";
 // const ETH_RPC = '/ethereum/data/geth.ipc'
 // const ETH_RPC = 'http://3.227.34.41:8545'
 // const ETH_W_RPC = 'http://3.227.34.41:18545'
-const ETH_RPC = 'http://localhost:8545'
-const ETH_W_RPC = 'http://localhost:18545'
+const ETH_RPC = 'ws://127.0.0.1:8546'
+const ETH_W_RPC = 'ws://127.0.0.1:18546'
 
 const config: HardhatUserConfig = {
   defaultNetwork: 'eth_w',