New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@solentic/verify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solentic/verify

Deterministic client-side verifier for Solentic (Blueprint) Solana stake transactions. Trust the verifier, not the server: confirm a returned transaction only delegates to Blueprint with your wallet as both authorities, before you sign.

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

@solentic/verify

Deterministic, zero-trust client-side verifier for Solentic (Blueprint) Solana stake transactions.

Solentic returns unsigned transactions that your agent signs locally. This package lets the agent prove, before signing, that a returned transaction does exactly one thing: create a native stake account funded by your wallet, set your wallet as both the stake and withdraw authority, delegate to Blueprint's vote account, and attach the Solentic memo — with no other instructions (no authority hijack, no hidden transfer, no look-alike validator).

Blueprint's vote account is compiled into this package. You trust these ~120 lines, not the server that built the transaction.

Install

npm install @solentic/verify @solana/web3.js

Usage

import { verifyStakeTransaction } from '@solentic/verify';

// `transaction` is the base64 returned by POST /api/v1/stake/transaction
const result = verifyStakeTransaction(transaction, myWalletPublicKey);

if (!result.ok) {
  throw new Error(`Refusing to sign: ${result.reason}`);
}
// safe — sign and submit

result.checks lists each assertion (fee_payer_is_wallet, wallet_is_stake_and_withdraw_authority, delegates_to_blueprint, solentic_memo_present, ...) with a pass/fail flag, so you can log exactly what was verified.

What it guarantees

CheckMeaning
instruction_countExactly 4 instructions — nothing extra slipped in
fee_payer_is_walletYou pay the fee; no third-party payer
creates_stake_account_from_walletThe new stake account is funded by you and owned by the Stake program
wallet_is_stake_and_withdraw_authorityYou keep full control — both authorities are your wallet
delegates_to_blueprintDelegation target is Blueprint's vote account (compiled in), not a look-alike
solentic_memo_presentThe on-chain attribution memo is present and unmodified

MIT licensed.

Keywords

solana

FAQs

Package last updated on 17 Jun 2026

Related posts