Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sepivip/solana-payments-skill --skill solana-payments-skillgit clone --depth 1 https://github.com/sepivip/solana-payments-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sepivip/solana-payments-skill/solana-payments-skill)<a href="https://agentmods.dev/skills/sepivip/solana-payments-skill/solana-payments-skill"><img src="https://agentmods.dev/badge/skills/sepivip/solana-payments-skill/solana-payments-skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sepivip/solana-payments-skill/solana-payments-skill"><img src="https://agentmods.dev/badge/skills/sepivip/solana-payments-skill/solana-payments-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.05616 |
| Opus 5 | $0.00030 | $0.02808 |
| Sonnet 5 | $0.00012 | $0.01123 |
| Haiku 4.5 | $0.00006 | $0.00562 |
Grade A, and why
solana-payments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 640 lines — stays where its author put it; the contents beside it link to each section on GitHub.
This skill guides implementation of a Solana SPL token payment provider for Toppio's existing chain-agnostic PaymentProvider interface. It covers wallet generation, balance checking, transfer detection, and sweeping — all adapted to Solana's unique account model.
Solana vs EVM — Key Differences
Solana is NOT EVM-compatible. Do not use ethers.js or EVM patterns. Key differences:
| Concept | EVM (BSC/Polygon) | Solana |
|---|---|---|
| Library | ethers.js v6 | @solana/web3.js + @solana/spl-token |
| Keypair | Random wallet (secp256k1) | Ed25519 keypair |
| Token balances | ERC-20 contract.balanceOf() | Associated Token Account (ATA) |
| Token transfer | contract.transfer() | createTransferInstruction() |
| Gas token | BNB / POL | SOL |
| Gas cost | ~$0.01-0.05 | ~$0.001 (base) + ~$0.40 (ATA creation) |
| Finality | ~3-15s | ~400ms (optimistic), ~30s (confirmed) |
| Block scanning | Transfer events via getLogs | getSignaturesForAddress + getParsedTransaction |
Token Addresses (Mainnet)
// USDC — Token Program (not Token-2022)
const USDC_MINT = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
// USDT — Token Program (not Token-2022)
const USDT_MINT = 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB';
// Token Program address (both USDC and USDT use this, NOT Token-2022)
const TOKEN_PROGRAM_ID = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
CRITICAL: USDC and USDT on Solana both use the original Token Program, NOT Token-2022. Using the wrong program produces invalid ATAs and failed transfers.
Dependencies
npm install @solana/web3.js@1 @solana/spl-token bs58
Use @solana/web3.js v1 (stable). v2 is a full rewrite with different APIs. bs58 is needed for encoding/decoding Solana keypairs (not built into web3.js).
Provider Implementation
File: providers/payment/solana.ts
Implement the PaymentProvider interface from providers/payment/types.ts:
interface PaymentProvider {
readonly chain: string; // 'Solana'
readonly chainId: string; // 'solana'
readonly token: string; // 'USDC/USDT'
readonly decimals: number; // 6 (both USDC and USDT on Solana are 6 decimals)
readonly gasToken: string; // 'SOL'
generateDepositAddress(): Promise<DepositAddress>;
checkBalance(address: string): Promise<BalanceResult>;
getIncomingTransfers(address: string, fromBlock?: number): Promise<TransferInfo[]>;
sweep(fromPrivateKey: string, toAddress: string): Promise<SweepResult>;
getExplorerUrl(txHash: string): string;
getAddressExplorerUrl(address: string): string;
isValidAddress(address: string): boolean;
getMasterGasBalance(): Promise<string>;
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 640 lines · 59 tokens per session scan A 2f0b15149eba
solana-payments is a skill published in the GitHub repository sepivip/solana-payments-skill (2 stars, last pushed 6mo ago), licensed MIT. It adds 59 tokens to every session and 5,616 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
mpp-agent
Pay HTTP 402 APIs via Machine Payments Protocol (MPP).
bridge
Cross-chain token transfers using Wormhole and CCTP.
hyperliquid
Hyperliquid L1 perps DEX (69% market share).
marginfi
MarginFi — Solana lending and borrowing.
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…