You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
# Combine Stable Curve with Stake Pool for price discovery
2
+
3
+
Implement a curve for token-swap that accepts stake pool account and uses stable curve to swap assets.
4
+
[Stake pool account](https://github.com/solana-labs/solana-program-library/blob/master/stake-pool/program/src/state.rs#L17) will be used for initial price discovery then stable curve would be used to derive price based on the size of the order and available reserves.
5
+
6
+
## Links
7
+
1. Stake pool implementation: https://github.com/solana-labs/solana-program-library/blob/master/stake-pool/program
0 commit comments