mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
17 lines
391 B
Python
17 lines
391 B
Python
import asyncio
|
|
from utils import default_example_setup
|
|
|
|
|
|
async def main():
|
|
client, api_client, _ = default_example_setup()
|
|
|
|
err = client.check_client()
|
|
if err is not None:
|
|
print(f"CheckClient error: {err}")
|
|
return
|
|
|
|
tx_info, response, err = await client.create_sub_account()
|
|
print(tx_info, response, err)
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main()) |