Blinks
Turn Solana Actions into shareable, embeddable links across the social web.
Search across all documentation pages
Turn Solana Actions into shareable, embeddable links across the social web.
https://your-blink-proxy.example/?action=https://actions.example.com/voteWhen to reach for this:
<!-- Partner sites embed via Blink provider URL + your action endpoint -->
<a href="https://dial.to/?action=https://actions.example.com/swap">
Swap on MyProtocol
</a>// Your action endpoint still implements GET metadata + POST transaction
// See actions-the-specWhat this demonstrates:
| Alternative | Use When | Don't Use When |
|---|---|---|
| QR Solana Pay | In-person | Social viral loops |
| Native dApp link | Full product | Lightweight CTA |
Providers in client layout.tsx; pages mix server + client components.
Server env only for keypairs; NEXT_PUBLIC_ for RPC URLs.
All examples use @solana/kit, not web3.js v1.
Signing only in client components.
Revalidate on-chain reads carefully - chain is source of truth.
HTTPS endpoints returning Solana Actions JSON.
Separate React Native app with MWA.
Surfpool for integration; mock RPC in unit tests.
Separate env files and program IDs.
Decode simulation logs for user-facing messages.
Stack versions: This page was written for Agave 4.1.1, Solana CLI 3.0.10, Anchor 0.32.1, anchor-lang 0.32.1, Rust 1.91.1, @solana/kit 7.0.0, Surfpool 0.12.0, and LiteSVM 0.6.x.
Reviewed by Chris St. John·Last updated Jul 16, 2026