-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (31 loc) · 1.46 KB
/
.env.example
File metadata and controls
43 lines (31 loc) · 1.46 KB
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
# Please refer to following file for basic configurations, e.g. log, alert, metrics and store:
# https://github.com/Conflux-Chain/go-conflux-util/blob/main/config/.env.example
########################################################################
#
# REST API Configurations
#
########################################################################
# GIN_MODE=debug
# APP_API_ENDPOINT=":12345"
# APP_API_LOGGER=false
# APP_API_SWAGGERENABLED=false
########################################################################
#
# Service Configurations
#
########################################################################
APP_SERVICE_RPC_URL="http://evmtestnet.confluxrpc.com"
# APP_SERVICE_RPC_REQUESTTIMEOUT=3s
APP_SERVICE_RPC_PRIVATEKEY="your_private_key_here"
APP_SERVICE_RPC_LOGENABLED=false
# APP_SERVICE_ACCOUNTABSTRACT_DELEGATEDCONTRACT="your_contract_hex40_address_here"
APP_SERVICE_GASTANK_ADDRESS="paymaster_contract_hex40_address_here"
# APP_SERVICE_GASTANK_SIGNATURETIMEOUT="5m"
APP_SERVICE_TOKENPAY_RECIPIENT="hex40_address_to_receive_token"
APP_SERVICE_TOKENPAY_TOKENS="hex40_address_of_usdt_token_contract1,hex40_address_of_usdt_token_contract2"
# APP_SERVICE_TOKENPAY_MINGASFEERATIO=120
# APP_SERVICE_TOKENPAY_MINGASTIPRATIO=20
# APP_SERVICE_TOKENPAY_MAXGASCOST=100000000000000000 # 0.1 CFX
# APP_SERVICE_TOKENPAY_MINSPONSORBALANCE=1000000000000000000 # 1 CFX
# APP_SERVICE_TOKENPAY_CHECKRECEIPTINTERVAL=1s
# APP_SERVICE_TOKENPAY_CHECKFUNDINGRECEIPTINTERVAL=30ms