Catalog PyPI
Back to packageRELEASE DETAILS

0.2.5

PyPI

agton-jetton

TON Blockchain jetton wrappers, implementation of TEP-74

Published17 Mar 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.2.5 documentation

agton-jetton

import os
from agton.ton import ToncenterClient, Address, to_nano, comment
from agton.jetton import JettonMaster
from agton.wallet import WalletV3R2

mnemonic = os.environ["WALLET_MNEMONIC"]
provider = ToncenterClient(net="testnet") # pass api_key=... if you have one

wallet = WalletV3R2.from_mnemonic(provider, mnemonic)
jetton_master = JettonMaster(provider, Address.parse("kQBLdsCM9ksHe22vgPMBN7OScP6z6w8xAsM5AuHldrDT9EwR"))
jetton_wallet = jetton_master.get_jetton_wallet(wallet.address)

message = jetton_wallet.create_jetton_transfer(
    value=to_nano(0.5),                  # native TON to cover forwarding fees
    query_id=0,
    amount=to_nano(777),                 # jetton amount
    destination=wallet.address,
    response_destination=wallet.address,
    forward_amount=to_nano(0.1),
    forward_payload=comment("agton"),
)

wallet.send(message)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
agton
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
agton>=0.2.5runtime

Distribution files

2 collected
agton_jetton-0.2.5-py3-none-any.whl

bdist_wheel · 8.39 KB · Python py3

Source file
agton_jetton-0.2.5.tar.gz

sdist · 5.56 KB · Python source

Source file

Repository

PENDING
gosunov/agton

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:31 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8fe2875626e8b319b9d7ed4eabf4ffbbf99dacd224826b4c6371e4c19ddd9e9d

Other collected versions

View all collected versions →