diff --git a/xrocket/_pay.py b/xrocket/_pay.py index 5e5dcb8..226cecc 100644 --- a/xrocket/_pay.py +++ b/xrocket/_pay.py @@ -4,14 +4,14 @@ class PayAPI(App, Currencies, Invoice, Cheque, Subscription): """ - Class for working with pay.ton-rocket.com. + Class for working with pay.xrocket.tg. :author: shibdev [t.me/shibdev] :license: MIT """ - def __init__(self, api_key: str, api_url = "https://pay.ton-rocket.com", testnet=False): + def __init__(self, api_key: str, api_url = "https://pay.xrocket.tg", testnet=False): """ Class initialization. @@ -20,7 +20,7 @@ def __init__(self, api_key: str, api_url = "https://pay.ton-rocket.com", testnet self.api_key = api_key if testnet: - self.api_url = "https://dev-pay.ton-rocket.com" + self.api_url = "https://pay.testnet.xrocket.tg" else: self.api_url = api_url self.client = AsyncClient(headers={'Rocket-Pay-Key': self.api_key}) diff --git a/xrocket/_trade.py b/xrocket/_trade.py index 0ac375f..202dc40 100644 --- a/xrocket/_trade.py +++ b/xrocket/_trade.py @@ -11,7 +11,7 @@ class TradeAPI(Account, OrderBook, Orders, Pairs, Rates, TimeSeries): :license: MIT """ - def __init__(self, api_key: str, api_url = "https://trade.ton-rocket.com", testnet=False): + def __init__(self, api_key: str, api_url = "https://trade.xrocket.tg", testnet=False): """ Class initialization. @@ -20,7 +20,7 @@ def __init__(self, api_key: str, api_url = "https://trade.ton-rocket.com", testn self.api_key = api_key if testnet: - self.api_url = "https://dev-trade.ton-rocket.com" + self.api_url = "https://dev-trade.xrocket.tg" else: self.api_url = api_url self.client = AsyncClient(headers={'Rocket-Exchange-Key': self.api_key})