Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 248 Bytes

synchronous.md

File metadata and controls

12 lines (9 loc) · 248 Bytes

Synchronous

To use the library without asyncio, we can use similar code:

from ton.sync import TonlibClient
client = TonlibClient()
client.init_tonlib()

# then all methods can be used without await
wallet = client.create_wallet()