XaBbl4 / pytonconnect

Python SDK for TON Connect 2.0
Apache License 2.0
41 stars 10 forks source link

Transaction example improvement #7

Closed asemenov-pixelplex closed 2 months ago

asemenov-pixelplex commented 2 months ago

Description

There is currently no example demonstrating how to deserialize the Bag of Cells (BoC) returned from an executed transaction. Additionally, I find the simple example unclear in certain areas, particularly regarding wallet connection. Moreover, there is a bug that causes the app to crash when running due to the getConnection method in the BridgeProviderStorage class and failing send method of the BridgeGateway class.

Possible solution

Add a new example file that sends a transaction, deserializes the result and shows how to get transaction info.

XaBbl4 commented 2 months ago

Thanks for contribute.

I fixed this bug in myself, but not pushed yet, because this version is not public to pypi. There are a few bugs fixed, I’ll try to push them in the next few days if someone is already using this version from github.