Skip to content

feat(plugin-defi): Add Blueprint native staking actions#524

Open
MBrassey wants to merge 1 commit intosendaifun:v2from
MBrassey:feat/blueprint-staking
Open

feat(plugin-defi): Add Blueprint native staking actions#524
MBrassey wants to merge 1 commit intosendaifun:v2from
MBrassey:feat/blueprint-staking

Conversation

@MBrassey
Copy link

@MBrassey MBrassey commented Mar 4, 2026

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

Action Tool Function Description
STAKE_SOL_WITH_BLUEPRINT blueprintStake(agent, amountSol) Stake SOL natively with Blueprint validator (~6% APY)
UNSTAKE_SOL_FROM_BLUEPRINT blueprintUnstake(agent, stakeAccountAddress) Deactivate a stake account
CHECK_BLUEPRINT_STAKE_ACCOUNTS blueprintCheckAccounts(agent) List all stake accounts with status and epoch timing
GET_BLUEPRINT_VALIDATOR_INFO blueprintGetValidator() Get validator profile (APY, vote success, infrastructure)
DONATE_TO_BLUEPRINT blueprintDonate(agent, amountSol) Donate SOL to support platform development

How It Works

  1. Agent calls blueprintStake(agent, 10) to stake 10 SOL
  2. Blueprint API returns an unsigned base64 transaction
  3. Tool deserializes, signs with agent.wallet, and submits to Solana
  4. SOL is delegated to Blueprint validator — wallet retains full authority

Zero custody — Blueprint never sees the agent's private key. All transactions are unsigned base64, signed locally by the agent.

File Structure

packages/plugin-defi/src/blueprint/
├── actions/
│   ├── index.ts
│   ├── blueprintStake.ts
│   ├── blueprintUnstake.ts
│   ├── blueprintCheckAccounts.ts
│   ├── blueprintGetValidator.ts
│   └── blueprintDonate.ts
├── tools/
│   ├── index.ts
│   ├── blueprint_stake.ts
│   ├── blueprint_unstake.ts
│   ├── blueprint_check_accounts.ts
│   ├── blueprint_get_validator.ts
│   └── blueprint_donate.ts
└── constants/
    └── index.ts

Why Blueprint?

  • Native staking — not liquid staking. No derivative token risk, no smart contract risk.
  • ~6% APY (staking + Jito MEV)
  • Enterprise hardware — AMD EPYC 9654, 768GB DDR5, dual servers
  • Full AI discovery — MCP server, llms.txt, OpenAPI, A2A agent card
  • On-chain attribution — Memo Program instruction on every transaction
  • No auth required — all endpoints public

Links

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant