rename base-async

This commit is contained in:
Riku
2023-03-04 11:05:18 +01:00
parent 787f08f347
commit cfc226efb2
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import asyncio
from xrpl.asyncio.clients import AsyncWebsocketClient
async def main():
# Define the network client
async with AsyncWebsocketClient("wss://s.altnet.rippletest.net:51233") as client:
# inside the context the client is open
# ... custom code goes here
# after exiting the context, the client is closed
asyncio.run(main())