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

@solentic/sdk

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/sdk

Typed TypeScript client for Solentic — agent-native Solana staking with the Blueprint validator. Build native stake/unstake/withdraw transactions, verify them client-side before signing, and submit. Zero custody.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@solentic/sdk

Typed TypeScript client for Solentic — agent-native Solana staking with the Blueprint validator. One import replaces hand-rolled fetch calls, and the built-in client-side verifier means you never sign a tampered transaction.

Install

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

Quick start (zero custody — sign locally)

import { SolenticClient } from '@solentic/sdk';
import { Transaction, Keypair } from '@solana/web3.js';

const solentic = new SolenticClient();

// Build AND verify client-side before signing — throws if the tx is not a clean
// delegation to Blueprint with your wallet as both authorities.
const { tx } = await solentic.buildVerifiedStake(wallet.publicKey.toBase58(), 10);

const transaction = Transaction.from(Buffer.from(tx.transaction, 'base64'));
transaction.partialSign(wallet);
const { signature } = await solentic.submitTransaction(
  transaction.serialize().toString('base64'),
) as { signature: string };

API

  • getValidator() getApy() getPerformance() getInfrastructure() getEpoch()
  • checkBalance(wallet) getStakeAccounts(wallet) checkWithdrawReady(wallet) getStakingSummary(wallet) simulateStake(amountSol, durationDays?)
  • createStakeTransaction(wallet, amountSol) createUnstakeTransaction(wallet, stakeAccount) createWithdrawTransaction(wallet, stakeAccount, amountSol?) createDonateTransaction(wallet, amountSol)
  • submitTransaction(signedBase64)
  • verifyStake(txBase64, wallet) — re-exported @solentic/verify
  • buildVerifiedStake(wallet, amountSol) — build + verify in one call

All transaction builders return unsigned base64 transactions. Blueprint never sees your private key.

MIT licensed.

Keywords

solana

FAQs

Package last updated on 17 Jun 2026

Related posts