Skip to main content

No project description provided

Project description

📦 Pytoniq Tools

TON PyPI Python Versions License

Downloads Downloads Downloads

Installation

pip install pytoniq-tools

Usage

Providers

  • LiteClient

    Uses LiteBalancer from the pytoniq library and interacts with the blockchain via lite servers.
    For better performance, you can pass your own config from a private lite server, which can be acquired from the bot.

    Client Initialization
    from pytoniq_tools.client import LiteClient
    
    config = None
    IS_TESTNET = True
    client = LiteClient(config=config, is_testnet=IS_TESTNET)
    
  • TonapiClient

    Uses AsyncTonapi from the pytonapi library and interacts with the blockchain via the tonapi.io API.
    To use you need to obtain an API key on the tonconsole.com.

    Client Initialization
    from pytoniq_tools.client import TonapiClient
    
    API_KEY = ""
    IS_TESTNET = True
    client = TonapiClient(api_key=API_KEY, is_testnet=IS_TESTNET)
    
  • ToncenterClient

    Uses AsyncTonCenterClientV3 from the pytoncenter library and interacts with the blockchain via the toncenter.com API.
    To use you need to obtain an API key from the bot.

    Client Initialization
    from pytoniq_tools.client import ToncenterClient
    
    API_KEY = ""
    IS_TESTNET = True
    client = ToncenterClient(api_key=API_KEY, is_testnet=IS_TESTNET)
    

Wallet Operation Guide

NFT Operations Guide

Contribution

We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or submit a pull request.

Donations

TON - EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess

USDT (TRC-20) - TJjADKFT2i7jqNJAxkgeRm5o9uarcoLUeR

License

This repository is distributed under the MIT License. Feel free to use, modify, and distribute the code in accordance with the terms of the license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytoniq-tools-0.0.7.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

pytoniq_tools-0.0.7-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file pytoniq-tools-0.0.7.tar.gz.

File metadata

  • Download URL: pytoniq-tools-0.0.7.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pytoniq-tools-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c72c5489316d86b62ffba0094206dc8d3164d648c281af5bfc3d12b69839831b
MD5 531cf17a9cb341ba0dcf5a729ed8af28
BLAKE2b-256 13a5da8c28dff6dd3bff076c273ca669ffbaabdc959d5223ed0a7c78ba3149bf

See more details on using hashes here.

File details

Details for the file pytoniq_tools-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pytoniq_tools-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7a0dee8f80fe006f1a51e7458d1b1287e9ac06ee264f3b7fa4250ce284d192
MD5 1a16f8a6162496023c8edaf30a766ad1
BLAKE2b-256 ca53bbc3f7c6ad8e38c8b9cd5acfc3e61b879ae2217c124f6620dc32807c6e50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page