This repository has been archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rahul Sethuram
committed
Aug 28, 2020
1 parent
667c601
commit 2dfbd54
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Node | ||
|
||
## Configuration | ||
|
||
### Environment Variables | ||
|
||
The following environment variables are used by the node: | ||
|
||
| Variable Name | Type | Description | Example | | ||
| --------------------------------------- | ----------- | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `INDRA_ADMIN_TOKEN` | String | Token for administrative functions. | cxt1234 | | ||
| `INDRA_CHAIN_PROVIDERS` | JSON String | Mapping of chainId to ethProviderUrl | '{"1":"https://mainnet.infura.io/v3/TOKEN","4":"https://rinkeby.infura.io/v3/TOKEN"}' | | ||
| `INDRA_CONTRACT_ADDRESSES` | JSON String | Contract information, keyed by chainId | '{ "1337": { "ChallengeRegistry": { "address": "0x8CdaF0CD259887258Bc13a92C0a6dA92698644C0", "creationCodeHash": "0x42eba77f58ecb5c1352e9a62df1eed73aa1a89890ff73be1939f884f62d88c46", "runtimeCodeHash": "0xc38bff65185807f2babc2ae1334b0bdcf5fe0192ae041e3033b2084c61f80950", "txHash": "0x89f705aefdffa59061d97488e4507a7af4a4751462e100b8ed3fb1f5cc2238af" }, ...}' | | ||
| `INDRA_DEFAULT_REBALANCE_PROFILE_ETH` | JSON String | Rebalance Profile to use by default | '{"collateralizeThreshold":"500000000000","target":"1500000000000","reclaimThreshold":"10000000000000"}' | | ||
| `INDRA_DEFAULT_REBALANCE_PROFILE_TOKEN` | JSON String | Rebalance Profile to use by default (real units) | '{"collateralizeThreshold":"500000000000","target":"1500000000000","reclaimThreshold":"10000000000000"} | | ||
| `INDRA_LOG_LEVEL` | Number | Log level - 1 = Error, 4 = Debug | 3 | | ||
| `INDRA_MNEMONIC_FILE` | | ||
| `INDRA_NATS_JWT_SIGNER_PRIVATE_KEY` | | ||
| `INDRA_NATS_JWT_SIGNER_PUBLIC_KEY` | | ||
| `INDRA_NATS_SERVERS` | | ||
| `INDRA_NATS_WS_ENDPOINT` | | ||
| `INDRA_PG_DATABASE` | | ||
| `INDRA_PG_HOST` | | ||
| `INDRA_PG_PASSWORD_FILE` | | ||
| `INDRA_PG_PORT` | | ||
| `INDRA_PG_USERNAME` | | ||
| `INDRA_PORT` | | ||
| `INDRA_REDIS_URL` | | ||
| | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters