Releases: nessshon/tonutils
v0.1.0
v0.0.9
What's Added
- Add Preprocessed Wallet (v2, v2r1) Contract support.
- Add Jetton Stablecoin Contract support (by notcoin).
- Add
from_private_key
method to Wallets. - Add
get_timeout
,get_processed
,get_last_cleaned
get methods toHighloadWalletV3
. - Add
get_raw_account
method to Contract.
Added Examples
-
Reprocessed Wallet Operations
-
Standard Jetton Operations
-
Stablecoin Jetton Operations (by Notcoin)
Full Changelog: v0.0.8...v0.0.9
v0.0.8
What's Changed
- Fix: ensure kwargs are only passed to the Wallet transfer method, excluding body.
Full Changelog: v0.0.7...v0.0.8
v0.0.7
What's Added
- Add Vanity Deployer support.
- Add onchain content support for jetton and NFT.
- Add
get_jetton_data
method toJettonMaster
. - Add
get_wallet_data
method toJettonWallet
. - Add
balance
method toWallet
.
What's Changed
- Update NFT contracts (collection & items).
- Refactor codebase.
Added Examples
-
NFT Operations
-
Jettons Operations
-
Wallet Operations
-
Vanity Operations
Full Changelog: v0.0.6...v0.0.7
v0.0.6
v0.0.5
v0.0.4
What's Added
- Add Wallet V5 support.
What's Changed
- Rename functions:
amount_to_nano
toto_nano
andnano_to_amount
toto_amount
. Adddecimals
parameter for token conversion (e.g., USDT). - Refactor code structure and fix type errors.
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Added
-
Support for Jetton operations
-
Support for Jetton swap on DeDust
-
Support for DNS operations
-
Support for DNS subdomain management operations
-
Support for NFT sale operations on Getgems
What's Changed
-
Code refactoring and enhancements
-
Updated examples
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
- Code Refactoring: The codebase has been streamlined to use
aiohttp
, enhancing efficiency and reducing dependencies. The previous librariespytonapi
,pytoncenter
, andpytoniq
have been removed. - Dependency Updates:
- Transitioned to
aiohttp
andpytoniq-core
as core dependencies. - Optional support for
pytoniq
has been added for those working with Lite servers.
- Transitioned to
- New Exception Handling: Introduced
PytoniqDependencyError
to manage missingpytoniq
library scenarios, offering clear installation instructions. - Python 3.12 Support: Added compatibility with Python 3.12.
Full Changelog: v0.0.1...v0.0.2
v0.0.1
Release Notes - Version 0.0.1
We are excited to announce the initial release of tonutils
, a high-level OOP library for Python designed for interacting with the TON blockchain. This library is built on top of three of the most popular libraries for working with TON in Python: pytoniq, pytonapi, and pytoncenter. By integrating these libraries, tonutils
offers a convenient and flexible tool for developers.
Key Features and Capabilities
-
Client Initialization
- LiteClient: Utilizes
LiteBalancer
from the pytoniq library for blockchain interaction via lite servers. - TonapiClient: Uses
AsyncTonapi
from the pytonapi library for interaction with the blockchain via the tonapi.io API. - ToncenterClient: Employs
AsyncTonCenterClientV3
from the pytoncenter library for interaction with the blockchain via the toncenter.com API.
- LiteClient: Utilizes
-
Wallet Operations
- Create and Deploy Wallet: Generate a new wallet with associated keys and mnemonic, then deploy it to the blockchain.
- Wallet Operations: Transfer TON, NFTs, Jettons, and perform batch transfers.
-
NFT Operations
- Standard NFTs: Deploy Collection, Mint Item, Batch Mint, Transfer Item.
- Soulbound NFTs: Deploy Collection, Mint Item, Batch Mint, Revoke Item, Destroy Item.
- Editable NFTs: Deploy Collection, Mint Item, Batch Mint, Transfer Item, Edit Item Content, Change Item Editorship, Edit Collection Content, Change Collection Owner.
Stay Tuned
This is just the beginning! More features and improvements are on the way, so stay tuned for updates.