aboutsummaryrefslogtreecommitdiffstats
path: root/packages/kovan-faucets/src/ts/configs.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2017-12-14 07:09:39 +0800
committerGitHub <noreply@github.com>2017-12-14 07:09:39 +0800
commit2ef763a19555b85814a80aa5d93a14c90c51c512 (patch)
tree5b41b8911e12569f669fc7b30f3ea2cc19a33611 /packages/kovan-faucets/src/ts/configs.ts
parent6bda6a22e3551707e7069e8ad6ea34d1ba0abd4d (diff)
parent6ba4ed99c42b4976902046625790698b490c3e0e (diff)
downloaddexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar.gz
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar.bz2
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar.lz
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar.xz
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.tar.zst
dexon-sol-tools-2ef763a19555b85814a80aa5d93a14c90c51c512.zip
Merge pull request #229 from 0xProject/feature/addKovanFaucets
Add kovan faucet project into the mono repo
Diffstat (limited to 'packages/kovan-faucets/src/ts/configs.ts')
-rw-r--r--packages/kovan-faucets/src/ts/configs.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/kovan-faucets/src/ts/configs.ts b/packages/kovan-faucets/src/ts/configs.ts
new file mode 100644
index 000000000..f432ba66f
--- /dev/null
+++ b/packages/kovan-faucets/src/ts/configs.ts
@@ -0,0 +1,11 @@
+export const configs = {
+ DISPENSER_ADDRESS: process.env.DISPENSER_ADDRESS.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,
+};