Skip to content

Commit 98e2198

Browse files
committed
Update TESTNET/MAINNET url (new domain)
1 parent d7433ab commit 98e2198

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ lint:
2121
-i 71608 \
2222
-i 73456 \
2323
-i 74251 \
24-
-i 74252
24+
-i 74252 \
25+
-i 74380
2526
black --check --diff --target-version py310 --line-length 120 ./examples ./tests ./x10
2627
flake8 ./examples ./tests ./x10
2728
mypy

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# X10
1+
# Extended Python SDK
22

3-
Python client for [X10 API](https://api.docs.extended.exchange/).
3+
Python client for [Extended API](https://api.docs.extended.exchange/).
44

55
Minimum Python version required to use this library is `3.10` (you can use [pyenv](https://github.com/pyenv/pyenv) to manage your Python versions easily).
66

@@ -26,7 +26,7 @@ Our SDK makes use of a [Rust Library](https://github.com/x10xchange/stark-crypto
2626

2727
## TLDR:
2828

29-
Register at [x10 testnet](https://testnet.extended.exchange/) by connecting a supported Ethereum Wallet.
29+
Register at [Extended Testnet](https://testnet.extended.exchange/) by connecting a supported Ethereum Wallet.
3030

3131
Navigate to [Api Management](https://testnet.extended.exchange/api-management)
3232
1. Generate an API key
@@ -256,7 +256,7 @@ All new accounts should use the `MAINNET_CONFIG` configuration bundle.
256256

257257
## OnBoarding via SDK (Since Version 0.3.0)
258258

259-
To onboard to the X10 Exchange, the `UserClient` defined in [user_client.py](x10/perpetual/user_client/user_client.py) provides a way to use an Ethereum account to onboard onto the X10 exchange.
259+
To onboard to the Extended Exchange, the `UserClient` defined in [user_client.py](x10/perpetual/user_client/user_client.py) provides a way to use an Ethereum account to onboard onto the Extended Exchange.
260260

261261
### TLDR - Check out: [onboarding_example.py](examples/onboarding_example.py)
262262

x10/perpetual/order_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
OrderSide,
1717
OrderType,
1818
PerpetualOrderModel,
19+
SelfTradeProtectionLevel,
1920
SettlementSignatureModel,
2021
StarkDebuggingOrderAmountsModel,
2122
StarkSettlementModel,
2223
TimeInForce,
23-
SelfTradeProtectionLevel,
2424
)
2525
from x10.utils.date import to_epoch_millis, utc_now
2626
from x10.utils.starkex import generate_nonce, hash_order

x10/perpetual/trading_client/trading_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
from x10.perpetual.configuration import EndpointConfig
77
from x10.perpetual.markets import MarketModel
88
from x10.perpetual.order_object import create_order_object
9-
from x10.perpetual.orders import OrderSide, PlacedOrderModel, TimeInForce, SelfTradeProtectionLevel
9+
from x10.perpetual.orders import (
10+
OrderSide,
11+
PlacedOrderModel,
12+
SelfTradeProtectionLevel,
13+
TimeInForce,
14+
)
1015
from x10.perpetual.trading_client.account_module import AccountModule
1116
from x10.perpetual.trading_client.info_module import InfoModule
1217
from x10.perpetual.trading_client.markets_information_module import (

0 commit comments

Comments
 (0)