gpu-provider/constant.py

19 lines
512 B
Python

# web3 provider information
# include provider HTTPS endpoint URL & its API Key.
# Alchemy is a good choice for Web3 provider
WEB3_PROVIDER_URL = "https://eth-sepolia.g.alchemy.com/v2/"
WEB3_PROVIDER_KEY = ""
# Please write down your wallet key to sign a transaction with our contract.
WALLET_KEY = ""
# Don't change
SCHEDULER_ADDR = "0xe12dc15f646bC8Ba432254Ffe58595BC31eC2C4d"
SCHEDULER_ABI_FILE = "./src/Scheduler.abi"
GPU_NAME2ID = {
'NVIDIA GeForce RTX 4090': 0,
'NVIDIA GeForce RTX 3060': 1,
}