-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.sample
113 lines (86 loc) · 3.66 KB
/
.env.sample
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
######### 0G Node Config #########
#CHAIN_ID=
MONIKER="EMBERSTAKE_GUIDES"
SEEDS="81987895a11f6689ada254c6b57932ab7ed909b6@54.241.167.190:26656,010fb4de28667725a4fef26cdc7f9452cc34b16d@54.176.175.48:26656,e9b4bc203197b62cc7e6a80a64742e752f4210d5@54.193.250.204:26656,68b9145889e7576b652ca68d985826abd46ad660@18.166.164.232:26656"
PERSISTENT_PEERS="1ea4bbcc95f45d791a0f37bd8d261f01c99971c9@testnet-0g-peer.emberstake.xyz:29659"
WALLET_NAME="example"
# Server public IP
EXTERNAL_IP=
# Node host exposed ports (can be any available port)
P2P_PORT=26656
RPC_PORT=26657
API_JSON_RPC_PORT=8545
LCD_PORT=1317
## Set node log level - default is info
# NODE_LOG_LEVEL=
## Go lang garbage collection settings
## see https://docs.0g.ai/0g-doc/run-a-node/validator-node#garbage-collection-optimization
#NODE_GOGC=
#NODE_GOMEMLIMIT=
######### 0G Storage Node #########
# Use a public rpc (leave it as default if you are running your own node using this compose file)
STORAGE_BLOCKCHAIN_RPC_ENDPOINT="http://node:8545"
# miner private key (you can use your validator pk or a fresh one)
STORAGE_MINER_PRIVATE_KEY=
# Server public IP
STORAGE_ENR_ADDRESS=
# Node host exposed ports (can be any available port )
STORAGE_NETWORK_ENR_TCP_PORT=34150
STORAGE_NETWORK_ENR_UDP_PORT=34151
STORAGE_RPC_LISTEN_PORT=34160
## make sure you are passing in the correct format: array of string quoted inside single quote
##e.g. '["/ip4/54.219","/ip4/52.52.1"]'
#STORAGE_NETWORK_BOOT_NODES=
## Set log level in the format "info,hyper=info,h2=info"
#STORAGE_LOG_CONFIGS=
## Storage node contract addresses
#STORAGE_LOG_CONTRACT_ADDRESS=
#STORAGE_MINE_CONTRACT_ADDRESS=
#STORAGE_REWARD_CONTRACT_ADDRESS=
#STORAGE_LOG_SYNC_START_BLOCK_NUMBER=
######### 0G KV Node #########
## Use a node's json-rpc endpoint (leave it as default if you are running your own node using this compose file)
KV_BLOCKCHAIN_RPC_ENDPOINT="http://node:8545"
## Use a storage node rpc endpoint (leave it as default if you are running your own storage node using this compose file)
KV_ZGS_NODE_URLS=http://storage-node:5678
# KV Node host exposed ports (can be any available port )
KV_RPC_LISTEN_PORT=34170
## Set log level in the format "info,hyper=info,h2=info"
#KV_LOG_CONFIGS=
## KV node contract addresses
#KV_LOG_CONTRACT_ADDRESS=
#KV_LOG_SYNC_START_BLOCK_NUMBER=
######### 0G DA Node #########
### Required Values ###
## Use a node's json-rpc endpoint (leave it as default if you are running your own full node using this compose file)
DA_NODE_ETH_RPC_ENDPOINT="http://node:8545"
# DA node public address - should be IP or DNS record pointing to this server
DA_NODE_SOCKET_ADDR=
# DA Node grpc host exposed ports (can be any available port )
DA_NODE_SOCKET_PORT=34180
#
DA_NODE_SIGNER_BLS_PRIVATE_KEY=
#
DA_NODE_SIGNER_ETH_PRIVATE_KEY=
#
DA_NODE_MINER_ETH_PRIVATE_KEY=
### Optional Values - these values having their recommended values set in docker compose file ###
#DA_NODE_LOG_LEVEL=
#DA_NODE_ENTRANCE_CONTRACT=
#DA_NODE_START_BLOCK_NUMBER=
#DA_NODE_ENABLE_DAS=
######### 0G DA Encoder #########
# DA Encoder gprc expose ports (can be any available port )
DA_ENCODER_LISTEN_PORT=34190
######### 0G DA Client #########
### Required Values ###
## Use a node's json-rpc endpoint (leave it as default if you are running your own full node using this compose file)
DA_CLIENT_ETH_RPC_ENDPOINT="http://node:8545"
# an evm private key
DA_CLIENT_PRIVATE_KEY=
# A DA Encoder address, (leave it as default if you are running your Encoder using this compose file)
DA_CLIENT_ENCODER_SOCKET="http://da-encoder:34000"
# Set a port to expose this service gprc to outside (can be any available port )
DA_CLIENT_LISTEN_PORT=34195
######### 0G Storage CLI #########
#STORAGE_CLI_MAKE_TX_INTERVAL=