-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
27 lines (18 loc) · 937 Bytes
/
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
from dotenv import dotenv_values
from cyber_sdk.client.lcd import LCDClient
IPFS_HOST = dotenv_values("../.env")['IPFS_HOST']
WALLET_ADDRESS = dotenv_values('../.env')['WALLET_ADDRESS']
WALLET_SEED = dotenv_values('../.env')['WALLET_SEED']
BASH_TIMEOUT = 20
GRAPHQL_URL = 'https://index.bostrom.cybernode.ai/v1/graphql'
NODE_RPC_URL = 'https://rpc.bostrom.cybernode.ai:443'
NODE_LCD_URL = 'https://lcd.bostrom.cybernode.ai/'
CHAIN_ID = 'bostrom'
LCD_CLIENT = LCDClient(url=NODE_LCD_URL, chain_id=CHAIN_ID)
BASE_COIN_DENOM = 'boot'
PUSSY_NODE_RPC_URL = 'https://rpc.space-pussy.cybernode.ai:443'
PUSSY_NODE_LCD_URL = 'https://lcd.space-pussy.cybernode.ai/'
PUSSY_POOLS_BASH_QUERY = f'pussy query liquidity pools --node {PUSSY_NODE_RPC_URL} -o json'
PUSSY_CHAIN_ID = 'space-pussy'
PUSSY_LCD_CLIENT = LCDClient(chain_id=PUSSY_CHAIN_ID, url=PUSSY_NODE_LCD_URL, prefix='pussy')
CYBERLINK_CREATION_QUERY = './src/create_cyberlink.sh'