-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Configuration Variables
- Default: "info"
The LOG_LEVEL
environment variable determines both what is printed on the screen and what is written to the logfile, located at $ROOT/log.jsonl
.
The available options are:
- "debug"
- "info"
- "warn"
- "error"
- "panic"
- Default:"~/.chainlink"
This is the directory where the db.bolt
and log.jsonl
files and the keys
directory reside. The db.bolt
file is the database that the Chainlink node uses to keep track of JobSpecs, JobRuns, their status according to each interaction, and BridgeTypes (for external adapters). log.jsonl
is the log as written by the Chainlink node, depending on the LOG_LEVEL
specified by the environment variable's value. The keys
directory is the keystore and contains the password-encrypted private keys stored as JSON files.
- Default:"6688"
Port used for the REST API.
- Default:"chainlink"
The USERNAME
environment variable, and subsequent PASSWORD
variable are used for authentication to interact with the Chainlink node itself.
For example, the command:
$ curl -u chainlink:twochains http://localhost:6688/v2/specs
Is the equivalent as:
$ export USERNAME=chainlink
$ export PASSWORD=twochains
$ chainlink j
- Default:"twochains"
Similar to USERNAME
above, used for authentication to interact with the Chainlink node itself.
- Default:"ws://localhost:8546"
This is the websocket address of the Ethereum client that the Chainlink node will connect to. All interaction with the Ethereum blockchain will occur through this connection.
- Default:"0"
The Chain ID being 0 allows for the node to work on any available network.
- Default:"http://localhost:6688"
This is the URL that you will use to interact with the node itself. For example, tasks like adding JobSpecs, External Adapters, and starting jobs with a web initiator will use this URL.
- Default:"12"
The number of block confirmations to wait after a task run has been ran to regard it as "completed" in the node.
- Default:"0"
The number of block confirmations to wait before beginning a task run.
- Default:"12"
The number of blocks to wait if the transaction has still not been confirmed before resubmitting the transaction.
- Default:"5000000000"
The amount of wei to increase for the resubmitted transaction.
- Default:"20000000000"
The default gas price to use when submitting transactions to the blockchain.
- Default:"0x514910771AF9Ca656af840dff83E8264EcF986CA"
The address of the LINK token contract. Used for displaying the node account's LINK balance.
- Default:"1000000000000000000"
For jobs that require payment, this is the minimum payment amount in order for the node to accept and process the job. Since there are no decimals on the EVM, the value is represented like wei. This makes the default value 1 LINK.