Squads Docs
Development
Development
  • Introduction
    • What is Squads Protocol
    • Use Cases
    • Quickstart
  • Typescript
    • Overview
    • Instructions
      • Create Multisig
      • Create Config Transaction
      • Create Vault Transaction
      • Create Proposal
      • Approve Proposal
      • Reject Proposal
      • Cancel Proposal
      • Execute Config Transaction
      • Execute Vault Transaction
      • Create Batch
      • Add To Batch
      • Close Vault Transaction Account
      • Controlled Multisig Instructions
        • Add Member
        • Remove Member
        • Set Rent Collector
        • Add spending limit
        • Remove Spending Limit
    • Accounts
      • Multisig
      • Vault
      • Transactions
      • Proposal
      • Batch
  • Reference
    • Accounts
    • Permissions
    • Spending Limits
    • Time-locks
    • SDKs
    • Controlled Multisigs
  • API
    • Vault Check
  • CLI
    • Installation
    • Commands
  • Get Support
    • We're here to help
  • Other
    • Migrating from MultisigCreate v1 to v2
    • Squads Actions and Blinks
Powered by GitBook
On this page
  • What are Solana Actions?
  • What are blockchain links (blinks)?
  • Getting Started
  • Ideas to build
  • Resources
  1. Other

Squads Actions and Blinks

Get started building Blinks on Squads v4.

PreviousMigrating from MultisigCreate v1 to v2

Last updated 8 months ago

What are Solana Actions?

are specification-compliant APIs that return transactions on the Solana blockchain to be previewed, signed, and sent across a number of various contexts, including QR codes, buttons + widgets, and websites across the internet.

Actions make it simple for developers to integrate the things you can do throughout the Solana ecosystem right into your environment, allowing you to perform blockchain transactions without needing to navigate away to a different app or webpage.

What are blockchain links (blinks)?

– or blinks – turn any Solana Action into a shareable, metadata-rich link. Blinks allow Action-aware clients (browser extension wallets, bots) to display additional capabilities for the user. On a website, a blink might immediately trigger a transaction preview in a wallet without going to a decentralized app; in Discord, a bot might expand the blink into an interactive set of buttons. This pushes the ability to interact onchain to any web surface that displays a URL.

Getting Started

Install the into your application:

npm add @solana/actions

Check out both Solana’s and Dialect’s . Once you’re familiar with blinks, you can use our SDK to start building with Squads inside of a blink. Here's an example of a blink using .

You can test your blink , and once you’re ready to deploy it to the world you can so the blink will render on X.

Ideas to build

Here are a few ideas from the team and community:

  1. Create a Squad

    • Add corresponding keys, and a threshold, and deploy a Squad directly from X.

  2. Squads Blink Bot

    • Deploy an X bot for a Squad that DMs members of the Squad when transactions are proposed.

  3. Add Member

    • Specify a member key and permission levels, and propose to add a member with a blink.

  4. Propose a transaction

    • Drop a base64 string and propose a transaction directly from a blink.

  5. Propose a stake transaction

    • Allow certain validators to send pre-built stake transactions that can be proposed directly to your squad.

  6. Add a Spending Limit

    • Create and configure spending limits via blinks.

  7. Enable Rent Reclaim

    • Propose/execute a transaction to enable rent reclamation (or other configuration)

Resources

Find example code snippets on how to build several different Solana Actions:

Dialect’s

Video tutorial on

Example of a blink using

If you have any questions or encounter any issues, please reach out to us on .

Solana Actions
Blockchain links
@solana/actions SDK
official docs
dashboard
Squads v4 SDK
here
apply for verification
Solana's official docs
dashboard
How to Build Solana Actions
Squads v4 SDK
Deployed sample code snippets
Source code for code snippets
Discord