feat(plugin-defi): Add Blueprint native staking actions#524
Open
MBrassey wants to merge 1 commit intosendaifun:v2from
Open
feat(plugin-defi): Add Blueprint native staking actions#524MBrassey wants to merge 1 commit intosendaifun:v2from
MBrassey wants to merge 1 commit intosendaifun:v2from
Conversation
Add native Solana staking with Blueprint validator via REST API: - blueprintStake: Stake SOL natively (~6% APY) - blueprintUnstake: Deactivate stake accounts - blueprintCheckAccounts: List stake accounts with status - blueprintGetValidator: Get validator info (APY, performance) - blueprintDonate: Donate SOL to support the platform Blueprint is the first agentic staking infrastructure — zero custody, unsigned transactions only, agents sign client-side. This fills the native staking gap (kit currently only has liquid staking via Jupiter and Solayer). API: https://solentic.theblueprint.xyz Docs: https://solentic.theblueprint.xyz/docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds native Solana staking with Blueprint validator to the DeFi plugin. This fills the native staking gap — the kit currently only has liquid staking via Jupiter (
stakeWithJup) and Solayer (stakeWithSolayer). Blueprint enables direct validator delegation, where the agent's wallet retains full authority over the stake account.New Actions & Tools
STAKE_SOL_WITH_BLUEPRINTblueprintStake(agent, amountSol)UNSTAKE_SOL_FROM_BLUEPRINTblueprintUnstake(agent, stakeAccountAddress)CHECK_BLUEPRINT_STAKE_ACCOUNTSblueprintCheckAccounts(agent)GET_BLUEPRINT_VALIDATOR_INFOblueprintGetValidator()DONATE_TO_BLUEPRINTblueprintDonate(agent, amountSol)How It Works
blueprintStake(agent, 10)to stake 10 SOLagent.wallet, and submits to SolanaZero custody — Blueprint never sees the agent's private key. All transactions are unsigned base64, signed locally by the agent.
File Structure
Why Blueprint?
Links