-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
146 lines (114 loc) · 4.77 KB
/
.env.example
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
COMPOSE_PROJECT_NAME=flare-systems-deployment
# Docker compose profiles
# https://docs.docker.com/compose/profiles/
# Available values are
# - fsp: runs the whole flare system protocol stack
# - ftso: runs only the ftso, eg.: when you need ftso client api for da layer,
# this doesn't run the system client
# - fdc: runs only the fdc, eg.: when you need fdc client api for da layer,
# this doesn't run the system client
# - system-client: runs system-client, when you would want to run system-client in
# combination with some other profile, eg.: ftso
# - fast-updates: runs the fast-updates client
COMPOSE_PROFILES=fsp
# Flare node RPC endpoint
NODE_RPC_URL=rpcurl
NODE_API_KEY=apikey if needed
# Network ("songbird" | "coston" | "coston2" | "flare")
NETWORK=flare
#################
# system-client #
#################
# Entity keys, 0x-prefixed
IDENTITY=0x_address
SUBMIT_PK=0x_submit_private_key
SIGNATURES_PK=0xprivate_key
SIGNING_PK=0xprivate_key
###############
# ftso-client #
###############
# This will set api key for ftso client. It will be also used in system-client for
# connection to ftso client.
PROTOCOL_X_API_KEY_100=abcdef
# Feed value provider base url
# NOTE: since this is used *inside* docker if you wish to resolve
# to same machine you need to either provide host local ip or
# static ip address 172.17.0.1 which should resolve to your
# local machine inside docker
# eg: running provider on host machine on port 3101
VALUE_PROVIDER_URL=http://172.17.0.1:3101
################
# fast-updates #
################
FAST_UPDATES_ACCOUNTS=0xprivate_key1,0xprivate_key2,0xprivate_key3
FAST_UPDATES_SORTITION_PRIVATE_KEY=0xsortition_private_key
# Feed value provider endpoint for fast updates.
# By default it uses the same endpoint as the ftso client with voting rond id hardcoded to 0,
# since fast updates client does not operate in voting rounds.
# If this is problematic for your value provider implementation, you can change this to a different endpoint dedicated
# for retrieving lastest feed values for fast updates. For example:
# https://github.com/flare-foundation/ftso-v2-example-value-provider?tab=readme-ov-file#obtaining-feed-values
FAST_UPDATES_VALUE_PROVIDER_URL=$VALUE_PROVIDER_URL/feed-values/0
##############
# fdc-client #
##############
# This will set api key for fdc client. It will be also used in system-client for
# connection to fdc client.
PROTOCOL_X_API_KEY_200=abcdef
# Verifier server urls and their api keys.
# Fill out for each chain for each attestation type.
# If there is no api key, leave the value empty or comment it out.
# sgb - evmtransaction
SGB_EVMTRANSACTION_URL=http://host/.../verifyFDC
SGB_EVMTRANSACTION_API_KEY=apikey
# flr - evmtransaction
FLR_EVMTRANSACTION_URL=http://host/.../verifyFDC
FLR_EVMTRANSACTION_API_KEY=apikey
# eth - evmtransaction
ETH_EVMTRANSACTION_URL=http://host/.../verifyFDC
ETH_EVMTRANSACTION_API_KEY=apikey
# btc - payment
BTC_PAYMENT_URL=http://host/.../verifyFDC
BTC_PAYMENT_API_KEY=apikey
# doge - payment
DOGE_PAYMENT_URL=http://host/.../verifyFDC
DOGE_PAYMENT_API_KEY=apikey
# xrp - payment
XRP_PAYMENT_URL=http://host/.../verifyFDC
XRP_PAYMENT_API_KEY=apikey
# btc - balancedecreasingtransaction
BTC_BALANCEDECREASINGTRANSACTION_URL=http://host/.../verifyFDC
BTC_BALANCEDECREASINGTRANSACTION_API_KEY=apikey
# doge - balancedecreasingtransaction
DOGE_BALANCEDECREASINGTRANSACTION_URL=http://host/.../verifyFDC
DOGE_BALANCEDECREASINGTRANSACTION_API_KEY=apikey
# xrp - balancedecreasingtransaction
XRP_BALANCEDECREASINGTRANSACTION_URL=http://host/.../verifyFDC
XRP_BALANCEDECREASINGTRANSACTION_API_KEY=apikey
# btc - confirmedblockheightexists
BTC_CONFIRMEDBLOCKHEIGHTEXISTS_URL=http://host/.../verifyFDC
BTC_CONFIRMEDBLOCKHEIGHTEXISTS_API_KEY=apikey
# doge - confirmedblockheightexists
DOGE_CONFIRMEDBLOCKHEIGHTEXISTS_URL=http://host/.../verifyFDC
DOGE_CONFIRMEDBLOCKHEIGHTEXISTS_API_KEY=apikey
# xrp - confirmedblockheightexists
XRP_CONFIRMEDBLOCKHEIGHTEXISTS_URL=http://host/.../verifyFDC
XRP_CONFIRMEDBLOCKHEIGHTEXISTS_API_KEY=apikey
# btc - referencedpaymentnonexistence
BTC_REFERENCEDPAYMENTNONEXISTENCE_URL=http://host/.../verifyFDC
BTC_REFERENCEDPAYMENTNONEXISTENCE_API_KEY=apikey
# doge - referencedpaymentnonexistence
DOGE_REFERENCEDPAYMENTNONEXISTENCE_URL=http://host/.../verifyFDC
DOGE_REFERENCEDPAYMENTNONEXISTENCE_API_KEY=apikey
# xrp - referencedpaymentnonexistence
XRP_REFERENCEDPAYMENTNONEXISTENCE_URL=http://host/.../verifyFDC
XRP_REFERENCEDPAYMENTNONEXISTENCE_API_KEY=apikey
# btc - addressvalidity
BTC_ADDRESSVALIDITY_URL=http://host/.../verifyFDC
BTC_ADDRESSVALIDITY_API_KEY=apikey
# doge - addressvalidity
DOGE_ADDRESSVALIDITY_URL=http://host/.../verifyFDC
DOGE_ADDRESSVALIDITY_API_KEY=apikey
# xrp - addressvalidity
XRP_ADDRESSVALIDITY_URL=http://host/.../verifyFDC
XRP_ADDRESSVALIDITY_API_KEY=apikey