Catalog PyPI
Back to packageRELEASE DETAILS

0.2.5

PyPI

agton-wallet

TON Blockchain wrappers for wallets contracts

Published17 Mar 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.2.5 documentation

agton-wallet

import os
from time import time
from agton.ton import ToncenterClient, MessageRelaxed, Address, to_nano, comment
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)
message = MessageRelaxed.internal(
    value=to_nano(0.1),
    dest=Address.parse('0QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACkT'),
    body=comment('Hello! Привет! 你好! agton 🚀')
)

wallet.send(message)
# ^ Line above is actually just a shortcut for manual message crafting

# Here is manual crafting
signed_external = wallet.create_signed_external(
    messages_with_modes=[(message, 3)],
    valid_until=int(time()) + 3 * 60,
    seqno=wallet.seqno() 
)

# Now you can send it or do whatever with it
# provider.send_external_message(signed_external)

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_wallet-0.2.5-py3-none-any.whl

bdist_wheel · 23.66 KB · Python py3

Source file
agton_wallet-0.2.5.tar.gz

sdist · 17.98 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:5bea4e6bd782db49a47c4e300bbce1789a444e881b9ad33267deb8eeac00bd90

Other collected versions

View all collected versions →