How can I make Solana stake transaction with python?

341 Views Asked by At

How can I develop Solana staking with python? How can I make Solana stake transaction with python? Has anyone done it yet? Is there any resource for help?

1

There are 1 best solutions below

0
On

You can make some stake program instructions using the stake pool python bindings. You can find the source code for them at https://github.com/solana-labs/solana-program-library/tree/master/stake-pool/py/stake and some tests exercising the logic at https://github.com/solana-labs/solana-program-library/blob/master/stake-pool/py/tests/test_stake.py