0

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?

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

2 Answers 2

0

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.

-2

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 you have read our privacy policy.

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