Open
Conversation
|
This looks like it might be related to W5, am I right? Weird how the versioning is so confusing on the consumer/end-user's side. Presumably the next iteration would be W6; if it's not we need to start marching on the streets and demand answers. |
|
I'm not so deep into the TON understanding, but I tried to send Jettons using your code for PS. Yes, I use Lib versions:
Here is the code: JETTON_MASTER = 'EQBjVEEbSy59Tx5mKB-f1FNxgVE8yu6Pv5bTcQZxM17zrG9N'
DESITNATION_ADDRESS = 'kQAWYoF6lJd_Iom0E2XErBFXbq5143F7JfebDKEenX8jUW57'
MNEMONICS = [...]
API_KEY = ""
async def test_send_jetton():
from TonTools.Contracts.Wallet import Wallet
from TonTools.Contracts.Jetton import Jetton
client = TonCenterClient(
key=API_KEY,
orbs_access=True,
testnet=True
)
jetton = Jetton(JETTON_MASTER, provider=client)
my_wallet = Wallet(
provider=client,
mnemonics=MNEMONICS,
version="v5r1")
response = await my_wallet.transfer_jetton(
destination_address=DESITNATION_ADDRESS,
jetton_master_address=jetton.address,
jettons_amount=500,
fee=0.16)
response_dict = await response.json()
pprint(response_dict)
if __name__ == '__main__':
import asyncio
asyncio.run(test_send_jetton())The error |
Author
|
I'll take a look,wil update later time |
|
🚀 |
|
Any updates on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add V5R1 support