Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

dark0ghost/TonPyLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

TonPyLib

this class use api https://api.ton.sh/ and https://toncenter.com/api/test/v1 and will use ton.org api

use:

    from Ton import Ton
    import asyncio
    
    async def n():
      async with aiohttp.ClientSession() as session:
        d = Ton(session=session)
        print(await d.getAddressInformation(addres=kQD8uRo6OBbQ97jCx2EIuKm8Wmt6Vb15-KsQHFLbKSMiYHa6) #addres this you wallet )
        #{"ok":true,"result":{"state":"active","balance":19869804595}}
        
        #use proxy
        await d.proxy_session(proxy_url="socks5://3833844140:w61D1u0v@orbtl.s5.opennetwork.cc:999")
        # code
        await d.close()
        
    asyncio.run(n())

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages