-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swapping on testnet #8
Comments
I've noticed similar issues when attempting to use testnet: #7 It seems that the tinyman SDK expects json responses in a particular form which are not matching with what testnet algod is returning. In your case I don't think it's a problem with algosdk, your traceback jumped directly from I would try to run this section of code and play around with the exception to inspect what the tinyman-py-sdk/tinyman/v1/client.py Lines 31 to 34 in 3f7ed18
|
After further delving into it, the issue arises when a wallet is not opted in for one of the assets for which a swap is requested. |
Incorrect JSON parsing of error messages issue fixed in a3025d7 |
I am encountering the following issue when attempting to exchange two coins on tinyman using testnet.
Following the steps inhttps://github.com/tinymanorg/tinyman-py-sdk/blob/main/examples/swapping1.py, which work for Mainnet without problem, the code crashes with an AlgodHTTPError.
Here is a minimal example:
which fails with the following error
Is there something that needs to be set up differently for a swap on testnet, or perhaps something that changed on the algosdk library which is causing this issue?
The text was updated successfully, but these errors were encountered: