Hi guys! I am trying to send Jettons in Python and I keep getting the same error (the last one is https://tonapi.io/account/EQDD0Xn1k_iSi636YquW8mUDLuFH7_eATZyZ71fTe310zOhk )
tonsdk library
Code: https://pastebin.com/FiUzVKLX
I get Seqno via https://tonapi.io/v1/wallet/getSeqno
What am I doing wrong? Is anyone has ready examples of sending jettons on nodejs/python
Feb 6, 2023, 2:54 PM
You are trying to send jettons from root contract instead of minting them.
Feb 6, 2023, 3:39 PM
I want to send from wallet, not to mint
Feb 6, 2023, 3:40 PM
You need to direct your request to your jetton wallet, then.
For this example, it's EQDd0ljxhzXAOz4QaEMBQ5PwhWrlBU96mck0sXlHQK_bJ4vb.
Jetton wallet address can be obtained through get_wallet_address method on jetton root contract.
For this example, it's EQDd0ljxhzXAOz4QaEMBQ5PwhWrlBU96mck0sXlHQK_bJ4vb.
Jetton wallet address can be obtained through get_wallet_address method on jetton root contract.
Feb 6, 2023, 3:41 PM
oooohhh thank you very much! I'll try
Feb 6, 2023, 3:42 PM
In short: jetton balances are stored in separate contracts for each user so that sharding becomes effective.
You may want to read more at https://blog.ton.org/how-to-shard-your-ton-smart-contract-and-why-studying-the-anatomy-of-tons-jettons.
You may want to read more at https://blog.ton.org/how-to-shard-your-ton-smart-contract-and-why-studying-the-anatomy-of-tons-jettons.
Feb 6, 2023, 3:43 PM