-
Notifications
You must be signed in to change notification settings - Fork 55
/
.env.example
96 lines (85 loc) · 2.91 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
# TEST DOTENV CONFIGURATION
# Copy this file into .env and customize it
# ==========
# = DONATE =
# ==========
# Building and maintaining the bot requires time and
# passion: please consider expressing your gratitude by
# donating a small part of your rewards :-)
#
# Use this parameter to donate a % of your rewards to the project's
# wallet (0xb697fAC04e7c16f164ff64355D5dCd9247aC5434).
# For example, setting DONATE_PERCENTAGE=5 will donate 5%.
# Set it to 0 or remove the line to never donate.
#
# WHAT ABOUT GAS?
# Sending a donation costs 0.21 TUS in gas. Also, to optimize gas,
# a is sent only once every 10 times the bot claims a reward for
# you. This means that the gas impact of donations is less than 1%
# of what you already spend for gas, regardless of the donation
# amount.
DONATE_PERCENTAGE=0
# ========
# = NODE =
# ========
# By default, the bot will communicate with the blockchain using Swimmer
# Network's public node. Use this variable to specify a different node
WEB3_NODE_URI=https://subnets.avax.network/swimmer/mainnet/rpc
# =========
# = USERS =
# =========
# Your wallet address
USER_1_ADDRESS=0x1234
# Your private key as exported from your wallet; it is a hex string
# without the initial 0x, not the mnemonic seed phrase.
USER_1_PRIVATE_KEY=
# Will not reinforce if borrow price is larger than this, in TUS
USER_1_REINFORCEMENT_MAX_PRICE=25
# Optionally specify the user-agent to use for Web2 endpoints
USER_1_USER_AGENT=
# =========
# = TEAMS =
# =========
# Register your teams here. For each team you can choose a strategy:
# look in ReinforceStrategyFactory.py for available strategies
USER_1_TEAM_1=4476
USER_1_TEAM_1_REINFORCE_STRATEGY=HighestBpHighCost
USER_1_TEAM_1_TASK=mine
# Increase to avoid reverted txs when reinforcing, at a potential
# loss of stats of the rented crab
USER_1_TEAM_1_REINFORCEMENT_TO_PICK=1
# =================
# = NOTIFICATIONS =
# =================
# Set to 1 to enable IM notifications
NOTIFICATION_IM=0
# Set to 1 to enable telegram notifications
TELEGRAM_ENABLE=0
# Your api token (see https://core.telegram.org/bots#6-botfather)
TELEGRAM_API_KEY=123456789:AABBCCDDEE
# Your telegram user ID
TELEGRAM_CHAT_ID=123456
# ========
# = MISC =
# ========
# Time to wait between reinforcing mines and loots; default is 30 seconds.
# Applies only for users with multiple teams, as it helps avoiding
# renting the same (locked) crab multiple times.
REINFORCE_DELAY_IN_SECONDS=30
# ===================
# = RUN.PY SETTINGS =
# ===================
# Interval between each full cycle of mining, reinforcing
# and settling, in seconds (like a cronjob definition)
SLEEP_TIMER=120
# Interval between closing a mine (closeMines) & opening a new
# one (sendTeamsMining), in seconds
SLEEP_TIMER_MINOR=20
# Randomize sleep timers by this factor, in percentage. For
# example, a value of 20 will randomly vary sleep timers by
# at most 20%.
SLEEP_RANDOMIZER=20
# =========
# = DEBUG =
# =========
DEBUG_LEVEL=DEBUG