Yap
Yap
Back to YapDAP protocolAccounts and eventsTransaction flowNetworks and addresses

Transaction flow

How Yap prepares a transaction and Solana confirms a DAP action.

Prepare, sign, and send

When a user acts in Yap, the app checks inputs and chain state, then builds a transaction with the relevant DAP instruction. The wallet reviews, signs, and sends it to Solana.

Confirm and project

DAP checks the signer, accounts, and action allowance when the transaction executes. For votes, it also checks the active snapshot proof. Yap marks sent transactions as pending until Solana confirms them. After confirmation, Yap stores accepted DAP events in Postgres for feeds and app views. Solana determines DAP state.

If execution fails or chain state changes while a transaction is pending, refresh the state and build a new transaction. Wait for confirmation before treating a wallet signature or RPC submission as an accepted DAP action.

Direct clients

Clients can submit valid instructions directly to DAP. They derive and validate the required accounts, get the user's signature, and verify the confirmed result on Solana. DAP does not require a Yap profile.

Accounts and events

DAP accounts and events for client integrations.

Networks and addresses

Deployed DAP program IDs and Yap token mint addresses.

On this page

Prepare, sign, and sendConfirm and projectDirect clients