Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tonutils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tonutils

Tonutils is a high-level, object-oriented Python library designed to facilitate seamless interactions with the TON blockchain.

  • 0.1.5
  • Source
  • PyPI
  • Socket score

Maintainers
1

📦 Tonutils

TON PyPI Python Versions License

Image

Downloads Downloads Downloads

Tonutils is a high-level object-oriented library for Python designed to facilitate interactions with the TON blockchain. It seamlessly integrates three prominent services for working with TON:

  • tonapi.io - REST api to TON blockchain explorer.
  • toncenter.com - Fast and reliable HTTP API for The Open Network.
  • pytoniq - Library for direct interaction with Lite servers.

By combining these services, Tonutils provides a powerful and flexible toolset for developers, making it easier to work with the TON ecosystem.

Installation

pip install tonutils

To use the LiteserverClient, which requires the pytoniq library, install it with the optional dependencies:

pip install 'tonutils[pytoniq]'

Donations

Your donation supports the future of this project. Every contribution helps stimulate innovation and sustain development!

TON - EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess

USDT (TRC-20) - TGKmm9H3FApFw8xcgRcZDHSku68vozAjo9

Usage

Providers

• TonapiClient To use you need to obtain an API key on the tonconsole.com.

Client Initialization

from tonutils.client import TonapiClient

API_KEY = ""
IS_TESTNET = True
client = TonapiClient(api_key=API_KEY, is_testnet=IS_TESTNET)
• ToncenterClient To use you need to obtain an API key from the bot.

Client Initialization

from tonutils.client import ToncenterClient

API_KEY = ""
IS_TESTNET = True
client = ToncenterClient(api_key=API_KEY, is_testnet=IS_TESTNET)
• LiteserverClient For better performance, pass your own config, available from the bot.

Client Initialization:

from tonutils.client import LiteserverClient

config = None
IS_TESTNET = True
client = LiteserverClient(config=config, is_testnet=IS_TESTNET)

Guide

Wallet Operations
Jetton Operations
NFT Operations
DNS Operations
Vanity Operations

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.

Support

Supported by TON Society, Grants and Bounties program.

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc