diff --git a/source/libraries/NetworkConfiguration.ts b/source/libraries/NetworkConfiguration.ts index 305a064e0..51dc19208 100644 --- a/source/libraries/NetworkConfiguration.ts +++ b/source/libraries/NetworkConfiguration.ts @@ -4,6 +4,7 @@ type NetworkOptions = { isProduction: boolean; http: string; ws?: string; + ipc?: string; privateKey?: string; gasPrice: BN; } @@ -48,6 +49,7 @@ const networks: Networks = { isProduction: process.env.PRODUCTION === "true" || false, http: process.env.ETHEREUM_HTTP || "http://localhost:8545", ws: process.env.ETHEREUM_WS || "http://localhost:8546", + ipc: process.env.ETHEREUM_IPC, privateKey: process.env.ETHEREUM_PRIVATE_KEY || "fae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a", gasPrice: ((typeof process.env.ETHEREUM_GAS_PRICE_IN_NANOETH === "undefined") ? new BN(20) : new BN(process.env.ETHEREUM_GAS_PRICE_IN_NANOETH!)).mul(new BN(1000000000)) },