Univault is an all-in squads vault management solana blink, made possible via actions and action-chaining.
Blinkathon 2024 Winner under Squads Protocol track
VIEW_VAULT.mov
VAULT_TXNVOTING.mov
All in a single blink, thanks to the magic of solana blinks and action-chaining!
-
/api/actions/squad- The starting point of the blink, upon entering the vault multisig PDA, redirects to the/api/actions/squad/[vaultId]action for given vault within the same blink via action chaining. -
/api/actions/squad/[vaultId]- Gives the vault interface with given squad vault address, shows image containingvault balance,total membersandthreshold. Includes buttons for send and vote transactions. Uses action chaining to redirect to actions for sending and voting, within the same blink. -
/api/actions/squad/vote- Let's the user vote on a squads vault transaction at a given index, withApprove Vote,Reject,Execute, andApprove and Executeoptions. -
/api/actions/squad/send- Let's the user make a squads vault sol transfer transaction, which after success redirects to the voting action within the same blink, so that the user(preferrably a vault member) canvoteon it. -
/api/actions/squad/deposit- Allows for depositing SOL to the squads vault.