-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
49 lines (40 loc) · 1.55 KB
/
config.py
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
from cyberpy import seed_to_privkey, privkey_to_address
LCD_API = 'http://lcd_api'
RPC_API = 'http://rpc_api'
HERO = 'your hero name'
CYBERLINKS_IN_TX = 1
TXS_IN_BLOCK = 5
CHAIN_ID = 'bostrom-testnet-4'
SYNC_MODE = 'broadcast_tx_sync'
TYPE = {
"cyberlinker": 2,
"crosslinker": 1,
"invalid_cyberlinker": 2,
"sender": 97
}
# MAX 8
MINIONS = ['bot1 seed phrase here',
'bot2 seed phrase here',
'bot3 seed phrase here',
'bot4 seed phrase here',
'bot5 seed phrase here',
'bot6 seed phrase here',
'bot7 seed phrase here',
'bot8 seed phrase here'
]
# ----------------------------------------------------------
# ------------------ DO NOT TOUCH SECTION ------------------
# ----------------------------------------------------------
CIDS_COUNT = 15
NAMES = ['Alex', 'Bob', 'Carl', 'Daniel', 'Egor', 'Francis', 'Gerald', 'Harry', 'Igor', 'Jackob']
FRIENDS = {privkey_to_address(seed_to_privkey(minion)): name for minion, name in zip(MINIONS, NAMES)}
CHARACTER = ['cyberlink'] * (TYPE['cyberlinker'] * 100) + \
['crosslink'] * (TYPE['crosslinker'] * 100) + \
['invalid_cyberlink'] * (TYPE['invalid_cyberlinker'] * 100) + \
['send'] * (TYPE['sender'] * 100)
# ['delegate'] * (TYPE['delegator'] * 100) + \
# ['undelegate'] * (TYPE['undelegator'] * 100) + \
# ['redelegate'] * (TYPE['redelegator'] * 100) + \
# ['withdraw'] * (TYPE['withdrawer'] * 100)
if CYBERLINKS_IN_TX > 200:
CYBERLINKS_IN_TX = 200