Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

stake-pool-py: Create and deserialize stake pools #2557

Merged
merged 8 commits into from
Dec 9, 2021

Conversation

joncinque
Copy link
Contributor

@joncinque joncinque commented Nov 3, 2021

Problem

People want to run stake pools, but writing a staking bot in Rust is a daunting task.

Solution

Add a python option! List of things to do:

  • create the reserve stake account
  • create the mints and token accounts
  • create the stake pool / validator list
  • initialize the stake pool
  • also, CI! the .cache used for the solana install is overly aggressive, so this pares back how much is cached to just .cache/solana to not interfere with the pip cache
  • add / remove validators
  • serde on the validator list
  • deposit / withdraw sol
  • deposit / withdraw stake
  • update pool
  • increase / decrease stake
  • simple bot to set levels

@joncinque joncinque changed the title stake-pool-py: Create and deserialize stake pools with CI stake-pool-py: Create and deserialize stake pools Nov 3, 2021
@joncinque
Copy link
Contributor Author

Will finish the bot in a separate PR, this is already pretty beefy

@joncinque joncinque merged commit a788886 into solana-labs:master Dec 9, 2021
@joncinque joncinque deleted the sp-py branch December 9, 2021 23:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant