kevinheavey / anchorpy

The Python Anchor client.
https://kevinheavey.github.io/anchorpy/
MIT License
222 stars 59 forks source link

expose rpc item #54

Closed SpaceMonkeyForever closed 2 years ago

SpaceMonkeyForever commented 2 years ago

I needed to expose the rpc item so I can create lower level objects e.g. Transaction and TransactionInstruction. This makes it easier to combine anchorpy calls with other Solana calls in the same Solana TX.

kevinheavey commented 2 years ago

Is there a reason you need this instead of program.instruction and program.transaction?

SpaceMonkeyForever commented 2 years ago

my bad, don't know how I didn't see that. Thank you! that makes my code simpler