Skip to content

Releases: nessshon/tonutils

v0.1.0

21 Sep 19:52
Compare
Choose a tag to compare

What's Added

  • Enhanced precision in to_nano conversion: Replaced int with round to improve accuracy.
  • Update version to 0.1.0: Improved setup.py metadata for better visibility and discoverability on PyPI. (#7)

Full Changelog: v0.0.9...v0.1.0

v0.0.9

20 Sep 05:08
Compare
Choose a tag to compare

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 to HighloadWalletV3.
  • Add get_raw_account method to Contract.

Added Examples

Full Changelog: v0.0.8...v0.0.9

v0.0.8

17 Sep 22:08
Compare
Choose a tag to compare

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

17 Sep 16:21
Compare
Choose a tag to compare

What's Added

  • Add Vanity Deployer support.
  • Add onchain content support for jetton and NFT.
  • Add get_jetton_data method to JettonMaster.
  • Add get_wallet_data method to JettonWallet.
  • Add balance method to Wallet.

What's Changed

  • Update NFT contracts (collection & items).
  • Refactor codebase.

Added Examples

Full Changelog: v0.0.6...v0.0.7

v0.0.6

05 Sep 13:55
Compare
Choose a tag to compare

What's Added

  • Add Highload Wallet V3 support.

What's Changed

  • Fixed incorrect number of bits for op-code by @coalus in #2

Full Changelog: v0.0.5...v0.0.6

v0.0.5

30 Aug 18:25
Compare
Choose a tag to compare

What's Changed

  • Fix GetGems sale deployer addresses by @coalus in #1

New Contributors

  • @coalus made their first contribution in #1

Full Changelog: v0.0.4...v0.0.5

v0.0.4

29 Aug 14:16
Compare
Choose a tag to compare

What's Added

  • Add Wallet V5 support.

What's Changed

  • Rename functions: amount_to_nano to to_nano and nano_to_amount to to_amount. Add decimals 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

23 Aug 03:39
Compare
Choose a tag to compare

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

02 Aug 13:35
Compare
Choose a tag to compare

What's Changed

  • Code Refactoring: The codebase has been streamlined to use aiohttp, enhancing efficiency and reducing dependencies. The previous libraries pytonapi, pytoncenter, and pytoniq have been removed.
  • Dependency Updates:
    • Transitioned to aiohttp and pytoniq-core as core dependencies.
    • Optional support for pytoniq has been added for those working with Lite servers.
  • New Exception Handling: Introduced PytoniqDependencyError to manage missing pytoniq 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

28 Jul 16:09
Compare
Choose a tag to compare

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.
  • 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.