aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/configs.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-01-24 02:10:43 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-01-24 02:10:43 +0800
commitd965fdb11dfba5631c1f98ad3e309876c199999a (patch)
treeec10b7341707cfcc6841d1b5fcbf0d3852536a79 /packages/testnet-faucets/src/ts/configs.ts
parent8a858501f2b633f47cec9576b25e6f99911bbc09 (diff)
downloaddexon-0x-contracts-d965fdb11dfba5631c1f98ad3e309876c199999a.tar.gz
dexon-0x-contracts-d965fdb11dfba5631c1f98ad3e309876c199999a.tar.zst
dexon-0x-contracts-d965fdb11dfba5631c1f98ad3e309876c199999a.zip
Rename to testnet-faucets
Diffstat (limited to 'packages/testnet-faucets/src/ts/configs.ts')
-rw-r--r--packages/testnet-faucets/src/ts/configs.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/testnet-faucets/src/ts/configs.ts b/packages/testnet-faucets/src/ts/configs.ts
new file mode 100644
index 000000000..2e5a7f64d
--- /dev/null
+++ b/packages/testnet-faucets/src/ts/configs.ts
@@ -0,0 +1,12 @@
+export const configs = {
+ DISPENSER_ADDRESS: (process.env.DISPENSER_ADDRESS as string).toLowerCase(),
+ DISPENSER_PRIVATE_KEY: process.env.DISPENSER_PRIVATE_KEY,
+ ENVIRONMENT: process.env.FAUCET_ENVIRONMENT,
+ ROLLBAR_ACCESS_KEY: process.env.FAUCET_ROLLBAR_ACCESS_KEY,
+ RPC_URL:
+ process.env.FAUCET_ENVIRONMENT === 'development'
+ ? 'http://127.0.0.1:8545'
+ : `https://kovan.infura.io/${process.env.INFURA_API_KEY}`,
+ ZRX_TOKEN_ADDRESS: '0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570',
+ KOVAN_NETWORK_ID: 42,
+};