Install
$ agentstack add skill-superteamcanada-stca-skills-solana-blinks ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Solana Blinks & Actions Builder
Build Solana Actions — API endpoints that return transaction previews — and wrap them as Blinks that render natively inside X (Twitter), Phantom, and other supporting clients. Users execute on-chain transactions without leaving the app.
Why this matters now
X Money launched in April 2026 with native Blinks support via Dialect. Every Solana app can now reach X's entire user base through shareable transaction URLs. This is the biggest distribution unlock in crypto — your swap, mint, payment, or vote becomes a one-tap action inside a tweet.
When to use this skill
- "Create a Blink for my token swap"
- "I want users to mint from a tweet"
- "Build a Solana Action endpoint"
- "Make my dApp shareable on X"
- "Set up tipping / payments via Blinks"
- Any project that needs shareable on-chain transactions
Core concepts
Solana Actions
An Action is an API endpoint that:
- Returns metadata (title, description, icon, action buttons)
- Accepts a user's public key
- Returns an unsigned transaction for the user to sign
Blinks (Blockchain Links)
A Blink is a URL that unfurls into an interactive transaction card when shared on X, Phantom, or other Blink-aware clients. The client fetches the Action API, renders the preview, and handles wallet signing.
Build mode workflow
Step 1 — Define the action
Ask the founder:
- What on-chain action? (swap, transfer, mint NFT, vote, stake, tip, donate)
- What parameters does the user choose? (amount, token, recipient, option)
- Is it a single action or a multi-step flow? (single transaction vs. chained actions)
- Where will it be shared? (X/Twitter, Phantom, Discord, embedded in website)
- Any access control? (public, token-gated, allowlist)
Step 2 — Scaffold the Actions API
solana-blinks/
├── src/
│ ├── actions/
│ │ └── swap.ts # Action endpoint (GET metadata + POST transaction)
│ ├── utils/
│ │ ├── transaction.ts # Transaction building helpers
│ │ └── validation.ts # Input validation
│ └── index.ts # Route setup
├── actions.json # Action manifest (served at /.well-known/actions.json)
├── .env.example
└── package.json
Step 3 — Implement the Action endpoint
GET returns action metadata:
{
"title": "Swap SOL → USDC",
"icon": "https://yourapp.com/icon.png",
"description": "Swap SOL for USDC at the best rate",
"label": "Swap",
"links": {
"actions": [
{ "label": "Swap 0.1 SOL", "href": "/api/swap?amount=0.1" },
{ "label": "Swap 1 SOL", "href": "/api/swap?amount=1" },
{
"label": "Custom amount",
"href": "/api/swap?amount={amount}",
"parameters": [{ "name": "amount", "label": "SOL amount" }]
}
]
}
}
POST receives the user's public key and returns an unsigned transaction:
{
"transaction": "",
"message": "Swapping 1 SOL for USDC"
}
Step 4 — Register with Dialect
- Serve
actions.jsonathttps://yourdomain.com/.well-known/actions.json - Register your domain with the Dialect Blinks Registry for verified status
- Verified Blinks render automatically on X and in Phantom; unverified ones require user opt-in
Step 5 — Test end-to-end
- Test locally with the Blinks Inspector
- Verify the Action returns valid transactions on devnet
- Share a Blink URL on X and confirm it renders correctly
- Test the full sign → submit → confirm flow
Hard rules
- actions.json must be served at the well-known path. Clients look for
/.well-known/actions.jsonto discover your Actions. - Transactions must be unsigned. The Action API returns transactions for the user's wallet to sign. Never sign server-side on behalf of users.
- Validate all inputs server-side. Don't trust parameters from the URL — validate amounts, addresses, and options before building the transaction.
- Set transaction deadlines. Use
recentBlockhashwith appropriatelastValidBlockHeightto prevent stale transactions. - CORS headers are required. Blink clients fetch from different origins. Set
Access-Control-Allow-Originappropriately. - Icon must be a direct image URL. Not a page that contains an image — a direct PNG/SVG/WebP URL that renders as an image.
Common Blink patterns
| Pattern | Description | |---------|-------------| | Token swap | User picks amount, Action builds a Jupiter/Raydium swap transaction | | NFT mint | One-tap mint from a tweet, optional quantity parameter | | Tipping | Send SOL/USDC to a creator, preset amounts + custom | | Voting / polling | Choose an option, Action records vote on-chain | | Donation | Send to a treasury address, shows running total | | Token-gated access | Check token ownership before returning the transaction |
Reference links
- Solana Actions & Blinks guide
- Dialect Blinks
- Blinks Inspector (test your Blinks)
- X Money + Solana integration
- Actions specification
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: SuperteamCanada
- Source: SuperteamCanada/STCA-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.