Skip to content

Commit 66d2b77

Browse files
fixes
1 parent 82175b2 commit 66d2b77

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎examples/system_setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
import eth_account
55
import lighter
66
from utils import save_api_key_config
7-
from lighter import get_endpoint_profile
7+
from lighter import get_endpoint_profile, MAINNET, ROBINHOOD, TESTNET
88

99
logging.basicConfig(level=logging.DEBUG)
1010

1111
# this is a dummy private key registered on Testnet.
1212
# It serves as a good example
13-
ENDPOINT_PROFILE = get_endpoint_profile["TESTNET"]
13+
ENDPOINT_PROFILE = TESTNET
1414
BASE_URL = "https://testnet.zklighter.elliot.ai"
1515
ETH_PRIVATE_KEY = "1234567812345678123456781234567812345678123456781234567812345678"
1616
API_KEY_INDEX = 3

‎lighter/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
from lighter.models.withdraw_history import WithdrawHistory
171171
from lighter.models.withdraw_history_item import WithdrawHistoryItem
172172
from lighter.models.zk_lighter_info import ZkLighterInfo
173-
from lighter.endpoint_profiles import (EndpointProfile, MAINNET, ROBINHOOD, DEFAULT_ENDPOINT_PROFILE, ENDPOINT_PROFILES, get_endpoint_profile)
173+
from lighter.endpoint_profiles import (EndpointProfile, MAINNET, ROBINHOOD, TESTNET, DEFAULT_ENDPOINT_PROFILE, ENDPOINT_PROFILES, get_endpoint_profile)
174174

175175
# manual additions
176176
from lighter.ws_client import WsClient

0 commit comments

Comments
 (0)