-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.maya.example
126 lines (109 loc) · 9.72 KB
/
.env.maya.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
# e.g. rpc.moksha.example.com
DOMAIN=
# e.g. "email [email protected]" where [email protected] is the email address for Let's Encrypt
CADDY_EMAIL_DIRECTIVE=
# e.g. "100.64.0.0/10 192.88.99.0/24"
RPC_TRUSTED_IP_RANGES=
# e.g. "https://app.example.com,https://admin.example.com"
CORS_ALLOWED_ORIGINS=*
GETH_VERSION=v1.14.11
PRYSM_VERSION=v5.1.0
REINIT_GETH=true
# Important - you must change these values!
# Address that will receive your validator rewards
WITHDRAWAL_ADDRESS=0x0000000000000000000000000000000000000000
# Network configuration
NETWORK=maya
CHAIN_ID=14808
DEPOSIT_RPC_URL=https://rpc.maya.vana.org
DEPOSIT_CONTRACT_ADDRESS=0x17BbE91c315Bf14f38F6D35052a827cadfFe184e
# Common node configuration
EXTERNAL_IP=0.0.0.0
# Geth node configuration
HTTP_PORT=8545
GETH_WS_PORT=8546
AUTHRPC_PORT=8551
P2P_PORT=30303
# Ideally, set this to the domain name of this RPC. If you want to allow requests from any virtual hostname, set this to '*'
GETH_HTTP_VHOSTS=*
# Set this to 0 to allow unlimited transaction fees
GETH_RPC_TXFEECAP=1000
# Beacon chain configuration
GRPC_GATEWAY_PORT=3500
RPC_PORT=4000
P2P_TCP_PORT=13000
P2P_UDP_PORT=12000
# Bootnodes are unused for now
# GETH_BOOTNODE_1=enode://9d0a565967fc6105d2401836197fb940bc7fad071ced1b5dc009968b9b1513098879dbf7ed321a896ece8ff8126cadc34195d02af6b0bc4c156accb50fdf7e9d@34.89.182.223:30303
# GETH_BOOTNODE_2=enode://1e91ede3f5e5129d76ca8a051293430fa6cdea2c63a82de0f3dde33fe7dfaaacc7c50000f8b6731d5d02e040a3f52a5f25217780f497367008a3ca7603511f8e@34.57.219.98:30303
# GETH_BOOTNODE_3=enode://7b532a6294aaf8d2cc394e8efcdac8a040f421142df9525e77b5d061eb70ce5a8828a2179c174fc83a0e6344dc4cf87c1928dc8307f5c9d91ab6195c794ec05e@35.240.133.148:30303
# GETH_BOOTNODE_4=enode://d3cc0a4fa4a47110bc6f51d3461274fc38cf50fc0409e2aa5d225b3e9bd4f8626352cfd2857b014c54cae45ed23758abfb3d51e8aeb39f851262f7942b2c87e5@34.151.64.50:30303
# GETH_BOOTNODES="$GETH_BOOTNODE_1,$GETH_BOOTNODE_2,$GETH_BOOTNODE_3,$GETH_BOOTNODE_4"
#
# PRYSM_BOOTNODE_1="enr:-MK4QCPyClFFW769HjJuU3FBzjQO8Wc6fzR77WmImCQdD-tfDEQzFknrdbOSrDotdXEOYfjESLvSycgTLveiRhJcEhiGAZK0cZCQh2F0dG5ldHOIAAAAAAAAAAOEZXRoMpB0EFmSIAAAlP__________gmlkgnY0gmlwhCJZtt-Jc2VjcDI1NmsxoQIw0V1DZ2yFNm-RYtJ7p7cj45F4n7oF4lYjy0E6-YjqT4hzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A"
# PRYSM_BOOTNODE_2="enr:-MK4QN__wXQtYCDVTTldvKO57ndUgNWu68sTX3usvvdmT1CkEiLySEVFLGEL0kQnEkQYHW7LbprgNgwWwVbaXwAw6pGGAZK0e2hQh2F0dG5ldHOIAAAMAAAAAACEZXRoMpB0EFmSIAAAlP__________gmlkgnY0gmlwhCJZtt-Jc2VjcDI1NmsxoQOSG4n3iyQhghItn2Q5_4tmjAKM_lGFWKQ54W7WB4NbW4hzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A"
# PRYSM_BOOTNODE_3="enr:-MK4QLI04ariXPp3H0X2TXWGErrep_sQcjJs-FvITgFEuLqVBW4b0p2ezCetYb0CD2Vh9bMZ1MenoBd1zoBKJZB5FsCGAZK0g_pLh2F0dG5ldHOIAAAAAAAAAAaEZXRoMpB0EFmSIAAAlP__________gmlkgnY0gmlwhCPwhZSJc2VjcDI1NmsxoQNZEE_gX78ejzZ8gxJjktv8m60h0tnY--pvqnuU7LmQaIhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A"
# PRYSM_BOOTNODE_4="enr:-MK4QGX764LBKyffsLMMiYjmSTN7AC1our8CxF4c0roAb4LVb_DZDJ5kjHcu_N7xGhFYGPYKZX113VwLCd5kPxMDFv2GAZK0iqhNh2F0dG5ldHOIAGAAAAAAAACEZXRoMpB0EFmSIAAAlP__________gmlkgnY0gmlwhCKXQDKJc2VjcDI1NmsxoQJ1MQfCOpkXf1lgzJF0-joDCDRY4bOmkLMAQ8qbPuuC0YhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A"
### SECTION - Uncomment this section, and comment out the next section, to configure core validator and relay nodes
# ### Core validator peer configuration
# GETH_PEER_1="enode://864a41d28aabfef2bd4e597ac7c0b0d77ff7fe767c1b39e38bbd6891e85720e2901a3fb53c73b6f03f6c002cea0ae28128ea190a95b8d9e237a98c614146d6aa@34.171.53.143:30303"
# GETH_PEER_2="enode://01a0c1f276b12cb90a3ca848a849d8170a859512c7a65567c858f4338aba23b0c499c59b0e1924cd3fc49f760d3f0b92530c8c92e4ab7a9a89ad998775774f57@104.154.158.47:30303"
# GETH_PEER_3="enode://27c5e6692998addd551c55db4580da2a931e56dc76cfbc67fa693155d2e6a1f24f7b90e52681c947e8ae35961427b4e8b60501e5bdcd1208c2b554cb07acf6bd@34.28.143.77:30303"
# GETH_PEER_4="enode://b46a3ce09557bc0bdb245a217ce46ecfb17e76c732f2dc8ff90c65c3149aa1f55ed43322f10a8a5afc79693a8c244053108ca73f4edb19effde9f73fe7ca7d04@34.170.201.127:30303"
# GETH_PEER_5="enode://ea05324ea3342f5b16055d96871e1c3658e55d60f3fa74814e1c3effdefcb871376851230ec2aa64b227f362303cd59d0ed3aa0ad36cd9f8294b43c22d3673cc@34.170.111.47:30303"
# GETH_PEER_6="enode://e3b8f4abfc55ea3f2c8c3ac296aaa4115ac5cb781a724968227c2cceb1c68964495539af36c7597a619d5084172de1ac6650a977354f33428186205bc9f82096@35.192.83.252:30303"
# GETH_PEER_7="enode://044f4cef78e1d510299f9b1e3580f20b37432a5381bb938955be74dd7f440d69da42299770c72cdd409b048b085ad3d30ee7a43f128301351a14a5170577c1f2@104.154.226.202:30303"
# GETH_PEER_8="enode://2b15cb4aadacb3aeb849227d11411a8a842bc9e42f9c3d2054534ffdc82365d5662617f4889fae9f8b7b063c3086c61c76e474b7c864a5a4a51839e6ceca897c@34.68.108.159:30303"
# GETH_PEER_9="enode://426a554fb6e88784cd0a3c9e81dff94a91536d5852b6041a8f1e49bd5ed73393f6e7cfd089eea6de823fe11fb687f2cb17928e753a01d848e68fa6853bbd3952@34.28.122.172:30303"
# GETH_PEER_10="enode://0b8b9cb7b17e88fe27be1fb84702e48ea0e809a79b766b26e59bf377cdab467796c44996589e6316d7ef16d7b1f5213ee63ab8c348dde5afe56b38b3a3c9cb2d@34.41.197.64:30303"
# GETH_BOOTNODES="$GETH_PEER_1,$GETH_PEER_2,$GETH_PEER_3,$GETH_PEER_4,$GETH_PEER_5,$GETH_PEER_6,$GETH_PEER_7,$GETH_PEER_8,$GETH_PEER_9,$GETH_PEER_10"
# PRYSM_PEER_1="/ip4/34.171.53.143/tcp/13000/p2p/16Uiu2HAkuWWztzKJJJAKWcEFHNLvgTC7wd1EV76Vyc7gzQ6hhWSm"
# PRYSM_PEER_2="/ip4/104.154.158.47/tcp/13000/p2p/16Uiu2HAmSn1jNxiJrcGL4zDea9kYvFUv9bmECguEesAYd2afTUoA"
# PRYSM_PEER_3="/ip4/34.28.143.77/tcp/13000/p2p/16Uiu2HAmFLo9Ghgd6CahBPC3571idQ79sk1iWztvHsUf94jox6Ni"
# PRYSM_PEER_4="/ip4/34.170.201.127/tcp/13000/p2p/16Uiu2HAmQac9vV7k5Qbw15GtqTdDmNp7yDELUiobjfa8QFoSoy7L"
# PRYSM_PEER_5="/ip4/34.170.111.47/tcp/13000/p2p/16Uiu2HAmUdv92xT2qNTGTg8GBLz7sTW5i25k5K1J1gJwUYYZddiJ"
# PRYSM_PEER_6="/ip4/35.192.83.252/tcp/13000/p2p/16Uiu2HAkwzgZqx7V2URHNAfiqPn2WrRuDeQjhGrAJtpiCHMotNJ9"
# PRYSM_PEER_7="/ip4/104.154.226.202/tcp/13000/p2p/16Uiu2HAm8ubW6R8H6o1zDsjXQrLQaH3sSS73rnFXgsPnmifk5dT6"
# PRYSM_PEER_8="/ip4/34.68.108.159/tcp/13000/p2p/16Uiu2HAmMM1eCoXiLaQei5jvP2XEPC47KM86NrV8ZAPPGeXeQwsg"
# PRYSM_PEER_9="/ip4/34.28.122.172/tcp/13000/p2p/16Uiu2HAmVQmuv5JjHNTfGqFzS83uL3ApypvEVinBY4ihCzcJ2Ens"
# PRYSM_PEER_10="/ip4/34.41.197.64/tcp/13000/p2p/16Uiu2HAmLkjnpBNT5536pctv4waydD393gvn9HXAjMp6b1zoj41C"
# ### End of core validator peer configuration
# ### Relay node configuration. Enable the core validator peer configuration above, plus:
# # rpc.maya.vana.org
# GETH_ARCHIVE_1="enode://ff6de760621dc2ebad61ea12c2e31064c67d28c0e589afc8ae3e21ad3ac3b725b05d7f3a4e85c7803089a48512dff8a34f7931f946ab2f60540ec400dbd1199e@35.193.146.61:30303"
# PRYSM_ARCHIVE_1="/ip4/35.193.146.61/tcp/13000/p2p/16Uiu2HAmCRErVCUjefJgCC3Ke1g5b2EqF9QiU9y336rKLfoqAyDe"
# GETH_BOOTNODES="$GETH_BOOTNODES,$GETH_ARCHIVE_1"
# PRYSM_PEER_11="$PRYSM_ARCHIVE_1"
# ### End of relay node configuration
### END SECTION
### SECTION - Uncomment this section for all other nodes
### Non-validator peer configuration (use relay nodes)
GETH_PEER_1="enode://6e24aa2a5a87d1b11cb596bf701b64788db06a4116b5e4a5855cda8848b23a6c0815f8fc9a37ac44bef3fc4975d5d9bbf3f84d6b8c221ed75198ef71dcef3af5@34.72.243.84:30303"
GETH_PEER_2="enode://39e3fdb2379ada36d983a00b9bcffe8d3db9f9d80e0037e826141aad141a794657b6512494caad78dc2280b78fbaa7996c932951d6ed262d67dd169c4701efc7@34.122.202.244:30303"
GETH_PEER_3="enode://23302edfac211a23ea87ca810d714d31f8bff97051cc71e40aabb99b53caa2ba1c1c2266748df6e57a564c8567a161b1e5f1e6de7fde26b5e14ae77deece5b6f@35.222.64.200:30303"
GETH_PEER_4="enode://04655a25c47afef0ab4dedf0bda071f6c0269eaa70a86c0059fbc7177dfabae3d311637a071e1f1f35fd0c7ebbb04fbdb61140182bdc3a634be875658a75e49c@34.135.121.146:30303"
GETH_PEER_5="enode://750efe75f5b73189b9c8a4e6e42176acc54fd0c1054305f1194c50638b3b6a6782183c2b9a06e55476a773745eaf22cbd91e817cd251958f6a01626cc1e04a3c@35.225.217.225:30303"
GETH_BOOTNODES="$GETH_PEER_1,$GETH_PEER_2,$GETH_PEER_3,$GETH_PEER_4,$GETH_PEER_5"
PRYSM_PEER_1="/ip4/34.72.243.84/tcp/13000/p2p/16Uiu2HAkw9b1YUSw265duhJYCFzBZsxosM4vEpb4HQmTfjyEDd9j"
PRYSM_PEER_2="/ip4/34.122.202.244/tcp/13000/p2p/16Uiu2HAmVrg3FNC1rEXMFPQpiGzu2BgYYtYdzdYsuad71XjKg7k9"
PRYSM_PEER_3="/ip4/35.222.64.200/tcp/13000/p2p/16Uiu2HAkyjC3TfcRkoTA9x287FyKRWJosu3pZa7Zp18dF1ByVbre"
PRYSM_PEER_4="/ip4/34.135.121.146/tcp/13000/p2p/16Uiu2HAmLKfZ5saRRQk6rGYqwtvAgxeQS2aDWur2WWbXN4F4HfyK"
PRYSM_PEER_5="/ip4/35.225.217.225/tcp/13000/p2p/16Uiu2HAkzHvxxHpQoRxGvvHqdhbdEesbnQrfv7XZG5nWWPwTPG1c"
### END SECTION
# Geth variables - https://geth.ethereum.org/docs/fundamentals/command-line-options
GETH_SYNCMODE=full # Set this to 'full' for full or archive mode
GETH_STATE_SCHEME=path # Set this to 'hash' for archive mode
GETH_GCMODE=full # Set this to 'archive' for archive mode. This is only relevant if GETH_STATE_SCHEME=hash
# Prysm variables - https://docs.prylabs.network/docs/prysm-usage/parameters
PRYSM_SLOTS_PER_ARCHIVE_POINT=512 # 512 slots is 64 epochs (8 slots per epoch). Set this to 8 to archive once per epoch (high storage requirement, but good for serving realtime data over an API)
PRYSM_BLOCK_BATCH_LIMIT=256 # Set this to 256 for a full node, 64 for a snap or light node
PRYSM_BLOCK_BATCH_LIMIT_BURST_FACTOR=8 # Set this to 8 for a full node, 2 for a snap or light node
PRYSM_BLOB_BATCH_LIMIT=256 # Set this to 256 for a full node, 64 for a snap or light node
PRYSM_BLOB_BATCH_LIMIT_BURST_FACTOR=8 # Set this to 8 for a full node, 2 for a snap or light node
# Set these values and uncomment the corresponding settings in docker-compose.yml to use checkpoint sync
TRUSTED_BEACON_NODE_URL=https://archive.maya.vana.org
WEAK_SUBJECTIVITY_CHECKPOINT=0x0000000000000000000000000000000000000000000000000000000000000000:0 # block root:epoch number
# Report stats to the public stats server
STATS_SERVER_URL=http://stats.maya.vana.org
INSTANCE_NAME="Example Validator"
PUBLIC_KEY=0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 # The public key of your validator