Skip to content

Commit

Permalink
Merge pull request #717 from AugurProject/tinybike/ch14411/add-ipc-su…
Browse files Browse the repository at this point in the history
…pport-to-networkconfiguration

Added optional ipc field to 'environment' NetworkConfiguration
  • Loading branch information
nuevoalex authored Jul 24, 2018
2 parents 82dbdf6 + 24f88b3 commit b54c15f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/libraries/NetworkConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ type NetworkOptions = {
isProduction: boolean;
http: string;
ws?: string;
ipc?: string;
privateKey?: string;
gasPrice: BN;
}
Expand Down Expand Up @@ -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))
},
Expand Down

0 comments on commit b54c15f

Please sign in to comment.