solana-developers / solana-actions

https://solana-developers.github.io/solana-actions/
Apache License 2.0
92 stars 38 forks source link

[spec] v2.2 - action chaining #18

Closed nickfrosty closed 1 month ago

nickfrosty commented 1 month ago

TLDR

Actions can be chained together in successive series up to a depth of n. Each action can provide a callback url to fetch the next action in the series (being provided the signature from the previous action`) which can then be presented to users via action aware clients.

Action chaining allows developer to build more complex and dynamic experiences within blinks, including:

Rationale

Blinks and actions are currently limited to a single depth of interaction. After the user signs a transaction, it concludes the experience. Action chaining allows developers to provide a depth of n actions, creating more dynamic and comprehensive experiences.

sRFC: https://forum.solana.com/t/srfc-28-blinks-chaining/1734