Skip to content

Token Cards and Action Cards

Weiwu Zhang edited this page Dec 13, 2019 · 1 revision

A card has one or more <view> or <audible>. One of the <view> can be an iconified view. <audible> is to be implemented for accessibility.

An action card either produces a blockchain transaction or an attestation. A token card just renders a token or an attestation.

A token can have as many token cards as its contexts, and limitless action cards. Most action-cards are only used by the token's owners, but a token-card doesn't assume the context being in the user's wallet.

For example, Alice, a car owner, has a Car token with a "lend" action, which is an action-card. Alice uses it to produce an attestation "AuthorisationToUse" to Bob. That AuthorisationToUse would cause the car token to be rendered in Bob's wallet context (Bob can see it in his own wallet), which is a token-card.