Closed rcolomina closed 1 year ago
My issue was solved forcing anchorpy version to 0.11.0 and fighting a bit with the dependencies.
So it works fine on the latest AnchorPy version?
@rcolomina can you confirm?
No response, closing
Yes, i does work. Many thanks!!
After creating a test script for my first
anchorpy
client, generated from the target program (i.e. idl.json),however, my test script wasn't able to import the target struct I am interested on, giving me an import error.
import anchorpy
fetch an account
from solana.rpc.api import Client
convert to a JSON object
load from JSON
However, I have an ImportError on anchorpy
Find below the complete backtrace
My python environment