forked from gobitfly/eth2-beaconchain-explorer
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config-example.yml
59 lines (57 loc) · 2.11 KB
/
config-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Database credentials
database:
user: "<dbuser>"
name: "<dbname>"
host: "<dbhost>"
port: "<dbport>"
password: "<dbpassword>"
# Chain network configuration (example will work for the prysm testnet)
chain:
slotsPerEpoch: 32
secondsPerSlot: 12
genesisTimestamp: 1573489682
minGenesisActiveValidatorCount: 16384
# Note: It is possible to run either the frontend or the indexer or both at the same time
# Frontend config
frontend:
enabled: true # Enable or disable to web frontend
imprint: "templates/imprint.example.html}**" # Path to the imprint page content
siteName: "Ethereum Block Chain Explorer" # Name of the site, displayed in the title tag
siteSubtitle: "Showing the <a href='https://prylabs.net'>💎 Prysm Eth Testnet</a>" # Subtitle shown on the main page
csrfAuthKey: "0123456789abcdef000000000000000000000000000000000000000000000000"
jwtSigningSecret: "0123456789abcdef000000000000000000000000000000000000000000000000"
jwtIssuer: "beaconcha.in"
jwtValidityInMinutes: 30
server:
host: "localhost" # Address to listen on
port: "3333" # Port to listen on
database:
user: "<dbuser>"
name: "<dbname>"
host: "<dbhost>"
port: "<dbport>"
password: "<dbpassword>"
sessionSecret: "<sessionSecret>"
email:
smtp:
server: "<emailserver>"
host: "<emailhost>"
user: "<emailuser>"
password: "<emailpassword>"
flashSecret: "" # Encryption secret for flash cookies
slotViz:
enabled: false
hardforkEpoch: 0
# Indexer config
indexer:
enabled: true # Enable or disable the indexing service
fullIndexOnStartup: false # Perform a one time full db index on startup
indexMissingEpochsOnStartup: false # Check for missing epochs and export them after startup
node:
host: "localhost" # Address of the backend node
port: "4000" # port of the backend node
type: "prysm" # can be either prysm or lighthouse
pageSize: 500 # the amount of entries to fetch per paged rpc call
eth1Endpoint: "https://goerli.infura.io/v3/<api-token>"
eth1DepositContractAddress: "0x5cA1e00004366Ac85f492887AAab12d0e6418876"
eth1DepositContractFirstBlock: 2523557