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.5 | $0.00024 | $0.02246 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (1 stars, last pushed 8mo ago), licensed MIT. It adds 59 tokens to every session and 5,616 once invoked, about $0.0002 per session on Opus 5.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.
solana-payments compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| solana-paymentssepivip/solana-payments-skill | Skill | 1 | 8mo ago | MIT | A | 59 | Claude Code, Codex |
| agentic-streetLeoYeAI/openclaw-master-skills | Skill | 2.2k | 6d ago | MIT | A | 91 | Claude Code, Codex |
| token-pickaeonfun/aeon | Skill | 788 | yesterday | MIT | A | 25 | Claude Code, Codex |
| bridgealsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 13 | Claude Code, Codex |
| hyperliquidalsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 19 | Claude Code, Codex |
| marginfialsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 11 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |