AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Solana Blinks

skill-superteamcanada-stca-skills-solana-blinks · by SuperteamCanada

Build Solana Actions and Blinks for in-app transactions on X and other clients. Triggers on "Blinks", "Solana Actions", "shareable transaction", "X Money", "Dialect".

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-superteamcanada-stca-skills-solana-blinks

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-superteamcanada-stca-skills-solana-blinks)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Solana Blinks? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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:

  1. Returns metadata (title, description, icon, action buttons)
  2. Accepts a user's public key
  3. 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:

  1. What on-chain action? (swap, transfer, mint NFT, vote, stake, tip, donate)
  2. What parameters does the user choose? (amount, token, recipient, option)
  3. Is it a single action or a multi-step flow? (single transaction vs. chained actions)
  4. Where will it be shared? (X/Twitter, Phantom, Discord, embedded in website)
  5. 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

  1. Serve actions.json at https://yourdomain.com/.well-known/actions.json
  2. Register your domain with the Dialect Blinks Registry for verified status
  3. Verified Blinks render automatically on X and in Phantom; unverified ones require user opt-in

Step 5 — Test end-to-end

  1. Test locally with the Blinks Inspector
  2. Verify the Action returns valid transactions on devnet
  3. Share a Blink URL on X and confirm it renders correctly
  4. Test the full sign → submit → confirm flow

Hard rules

  1. actions.json must be served at the well-known path. Clients look for /.well-known/actions.json to discover your Actions.
  2. Transactions must be unsigned. The Action API returns transactions for the user's wallet to sign. Never sign server-side on behalf of users.
  3. Validate all inputs server-side. Don't trust parameters from the URL — validate amounts, addresses, and options before building the transaction.
  4. Set transaction deadlines. Use recentBlockhash with appropriate lastValidBlockHeight to prevent stale transactions.
  5. CORS headers are required. Blink clients fetch from different origins. Set Access-Control-Allow-Origin appropriately.
  6. 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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.