I want to use PDAs in solana but there doesn’t seem to be any way of doing it with python. I looked to the Solana CLI library with no luck. Any ideas?

  • What do you want to do exactly? Find a program-derived address off-chain?
    – KevinH
    Oct 9, 2022 at 10:36

2 Answers 2


PDAs can be used in Python through the Solana Py library. Solana Py is a Python library that provides a convenient way to interact with Solana's JSON RPC API and programmatic interfaces.

To use PDAs in Solana Py, you can use the Account.from_seed() method to create an account based on a seed.


If you want to use PDA than there is this new framework in python you can give a try to its called Seahorse-lang here is the link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.