Skip to content

Commit 47290db

Browse files
jkawanJenita
andauthored
Added config.yaml.example file (#564)
Signed-off-by: Jenita <[email protected]> Co-authored-by: Jenita <[email protected]>
1 parent 2ab50a2 commit 47290db

File tree

2 files changed

+82
-43
lines changed

2 files changed

+82
-43
lines changed

config.yaml.example

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
# Example config
3+
4+
# Api server address
5+
api:
6+
address: 0.0.0.0
7+
port: 8080
8+
9+
# Logging options
10+
logging:
11+
# Log level
12+
level: info
13+
14+
# Debug options
15+
debug:
16+
# Debug listener address
17+
address: localhost
18+
19+
# Debug listener port
20+
# Set this to a non-zero value to enable debug listener
21+
port: 0
22+
23+
# Input plugin to use
24+
input: chainsync
25+
26+
# Output plugin to use
27+
output: log
28+
29+
# Kupo URL for querying UTxOs (optional)
30+
#kupo_url: http://localhost:1442
31+
32+
# Shelley transition epoch
33+
# Mainnet: 208
34+
# Preview testnet: 4
35+
# Preprod testnet: 4
36+
shelley_trans_epoch: 208
37+
38+
# Byron genesis configuration
39+
byron_genesis:
40+
# End slot of the Byron era
41+
# Mainnet: 4492799
42+
# Preview testnet: 0 (no Byron era)
43+
# Preprod testnet: 86399
44+
end_slot: 4492799
45+
46+
# Byron epoch length in slots
47+
# Mainnet: 21600
48+
# Preview/Preprod testnets: 86400 (or 0 if no Byron)
49+
epoch_length: 21600
50+
51+
# Byron slots per epoch
52+
# Usually same as epoch_length
53+
byron_slots_per_epoch: 21600
54+
55+
# Shelley genesis configuration
56+
shelley_genesis:
57+
# Shelley epoch length in slots
58+
# Mainnet: 432000
59+
# Preview testnet: 86400
60+
# Preprod testnet: 86400
61+
epoch_length: 432000
62+
63+
# Plugin options
64+
plugins:
65+
66+
# Input plugin options
67+
input:
68+
# Chainsync input plugin options
69+
chainsync:
70+
# Network to connect to (mainnet, preview, or preprod)
71+
network: mainnet
72+
# For testnet use: network: preview or network: preprod
73+
# Alternatively, specify socket path and network magic:
74+
#socket_path: /path/to/node.socket
75+
#network_magic: 764824073 # mainnet magic
76+
77+
# Output plugin options
78+
output:
79+
# Log output plugin options
80+
log:
81+
# Logging level
82+
level: info

configs/adder.yaml.example

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)