services.erigon.settings
NixOS option
Configuration for Erigon Refer to https://github.com/ledgerwatch/erigon#usage for details on supported values.
type: TOML valueDefault
{
datadir = "/var/lib/erigon";
chain = "mainnet";
http = true;
"http.port" = 8545;
"http.api" = ["eth" "debug" "net" "trace" "web3" "erigon"];
ws = true;
port = 30303;
"authrpc.port" = 8551;
"torrent.port" = 42069;
"private.api.addr" = "localhost:9090";
"log.console.verbosity" = 3; # info
}
Example
declared in: nixos/modules/services/blockchain/ethereum/erigon.nixView source on NixOS/nixpkgs →{
"authrpc.port" = 8551;
chain = "mainnet";
datadir = "/var/lib/erigon";
http = true;
"http.api" = [
"eth"
"debug"
"net"
"trace"
"web3"
"erigon"
];
"http.port" = 8545;
"log.console.verbosity" = 3;
port = 30303;
"private.api.addr" = "localhost:9090";
"torrent.port" = 42069;
ws = true;
}