Section
Patterns
With an app pattern, an app binds data and rules to shielded notes, memos and keys. Each pattern is possible with the consensus rules of today.
Each pattern page has the problem, the use cases, the mechanism and the cost. It also has the spec, a demo and a toy example.
Records
Keep a record that a verifier can find on the chain later.
-
Bound notes
Put a hash of app data in the
rseedof a zero-value note. Standard wallets can decrypt the note. -
Verified address Experimental
Write a record of an address check in a bound note. A verifier with the receipt examines the record.
-
Memo stones Experimental
Put one hash for many shielded memos in a public record. The author of a memo keeps a receipt.
Payments and orders
Receive an order, or pay many recipients.
-
Wallet-native orders
Put an order in the memo of a ZIP 321 payment URI.
-
Batch payouts Experimental
Pay many recipients in one shielded transaction. Each recipient receives its own amount and memo.
Login and roles
Find who controls an address, or share one role among many people.
-
Log in with Zcash
Send a one-time code in a memo to the address of a user. The user types the code to log in.
-
Threshold keys Experimental
Give each app role one FROST group key. Any t of n members can sign for the role.
Transaction shape
Make transactions with fewer actions and a fixed order of actions.
-
Polite actions
Each wallet must try to decrypt each action. Thus, an app must use a small number of actions.
-
Canonical action pairing
Use a keyed sort to put the spends and the outputs of a bundle in order. The pairs are the result of the order.
Status
A pattern with the Experimental tag has an open item: a review, an implementation or support in wallets. The open item is in the warning at the top of its page. The condition for the removal of the tag is also in the warning. Read the warning before you use the pattern on Mainnet.