From 56be3f03d475f168c0fb310ddadeaa063a7d4de2 Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Wed, 20 Nov 2019 15:18:08 +0100 Subject: [PATCH] Aaand back to local for now --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 82f9b4a..23b06de 100644 --- a/index.js +++ b/index.js @@ -10,8 +10,8 @@ const title = 'FIN4OracleEngine'; const HDWalletProvider = require('@truffle/hdwallet-provider'); const Tx = require('ethereumjs-tx').Transaction; const Web3 = require('web3'); -const networkID = 4; -const networkURL = 'https://rinkeby.infura.io/v3/' + config.INFURA_API_KEY; +const networkID = 0; // 4 +const networkURL = 'http://localhost:7545'; // 'https://rinkeby.infura.io/v3/' + config.INFURA_API_KEY; const provider = new HDWalletProvider(config.ORACLE_ACCOUNT.MNEMONIC, networkURL); const web3 = new Web3(provider); const accountAddress = web3.currentProvider.addresses[0];