feat(plugins): add Solentic native Solana staking plugin#569
Open
MBrassey wants to merge 1 commit intogoat-sdk:mainfrom
Open
feat(plugins): add Solentic native Solana staking plugin#569MBrassey wants to merge 1 commit intogoat-sdk:mainfrom
MBrassey wants to merge 1 commit intogoat-sdk:mainfrom
Conversation
Adds @goat-sdk/plugin-solentic — native Solana staking via the Solentic API with the Blueprint validator (~6% APY, 0% commission). Exposes 8 @Tool-decorated methods covering the full staking lifecycle: - stakeSol / unstakeSol / withdrawStake — build (unsigned) or execute full lifecycle actions against the Blueprint vote account - getApy / getValidatorInfo — current Blueprint APY + validator metadata - getStakeAccounts / checkWithdrawReady — wallet-scoped stake inventory and withdrawal-readiness check - simulateStake — projected rewards for a given SOL amount + duration Zero-custody by design: the Solentic API returns unsigned transactions and the agent signs locally with its own Solana wallet client. Solentic: https://solentic.theblueprint.xyz Also published standalone: @blueprint.xyz/goat-plugin-solentic on npm.
|
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
@goat-sdk/plugin-solentic— native Solana staking via the Solentic API with the Blueprint validator (~6% APY, 0% commission, Jito MEV enabled, rank 87).The plugin exposes 8
@Tool-decorated methods covering the full staking lifecycle, matching the existing GOAT plugin conventions (seesolana-magicedenfor layout).Tools
stakeSolunstakeSolwithdrawStakegetApygetValidatorInfogetStakeAccountscheckWithdrawReadysimulateStakeZero-custody architecture
The Solentic API never sees private keys. Each staking method returns an unsigned transaction which the agent signs locally via the
SolanaWalletClientfrom@goat-sdk/wallet-solana. No API keys or authentication required — the API is open.Test plan
pnpm install && pnpm --filter @goat-sdk/plugin-solentic buildawait service.simulateStake({ amountInSol: "1", durationDays: 365 })Links
@blueprint.xyz/goat-plugin-solenticon npm528hi3StRe7uGjt99d35myh95JPc2MqBEHTPYcEhqMg5