Solana Actions
@solana/actions
is a JavaScript library for facilitating Solana Actions and
blockchain links – or blinks – using the URL scheme. The URL scheme ensures that
no matter the wallet or service used, the requests must be created and
interpreted in one standard way.
What are Solana Actions?
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)?
Blockchain links – 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 on-chain to any web surface capable of displaying
a URL.
Other resources
License
The Solana Actions JavaScript SDK is open source and available under the Apache
License, Version 2.0. See the LICENSE file for more info.