tinyman-py-sdk
tinyman-py-sdk copied to clipboard
Tinyman Python SDK
I am receiving the following when error when preparing swap transactions from quote based on a fixed output swap quote algosdk.error.ZeroAddressError: For the zero address, please specify AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
Starting in python 3.11 importlib's read_text and open_text are deprecated with a warning... DeprecationWarning: read_text is deprecated. Use files() instead. self._contracts = json.loads(importlib.resources.read_text(tinyman.v1, 'asc.json')) DeprecationWarning: open_text is deprecated. Use files()...
Hi 👋 I'm trying to get fixed input swap quote and I noticed it's not correct for some pools. In below example `PAGO/ALGO` pool on the testnet. ```python from tinyman.v1.client...
I noticed a mismatch of minimum price between the webapp and the SDK. Here the results of the quote from SDK: Here a print of the quote: SwapQuote(swap_type='fixed-input', amount_in=ALGO('700'), amount_out=Planets('30848.706199'),...
Due to the first transaction in all groups being the same (send 0.002 Algo from sender to escrow for the fees), the transaction ID will be the same if you...
https://github.com/tinymanorg/tinyman-py-sdk/blob/40ca5536b7e31d642954ed4e3e9ee773e598c28d/tinyman/utils.py#L108 If any of the elements of `signed_transactions` is None we should raise an error to inform the user that not all transactions have been signed. The same applies to...
https://github.com/tinymanorg/tinyman-py-sdk/blob/40ca5536b7e31d642954ed4e3e9ee773e598c28d/tinyman/utils.py#L103 If the address is not one of the senders we should raise an error. This has tripped up some people who were passing a different address to the one...