Transfer and Exchange Examples

Exchange agreement

An exchange agreement with commitments.

agreement diagram reflecting the yaml below

Retail exchange

An exchange without prior commitments. Note we are still using the Agreement to tie together the reciprocal events, even there were no commitments ahead of time.

retail diagram reflecting the yaml below

Crypto-currency transfer

A simple transfer of a currency from one agent to another.

crypto transfer diagram reflecting the yaml below

Moving crypto-currency

A simple move of a currency from one account to another by one agent.

crypto move diagram reflecting the yaml below

Checkout book

Checking out and checking back in a library book (a loan).

checkout diagram reflecting the yaml below

Claim for income

Logged work triggers a claim for future income distribution for that work.

claim diagram reflecting the yaml below

Car Rental

Renting a car as a service, with transfer of custody.

car rental diagram reflecting the yaml below

Transportation with transfer

Bob purchases 30kg of apples from Alice and Claudia transports them (FOB destination). This illustrates an implied transfer of custody, to keep the overall flow simpler. (The example without the implied transfer is shown after this one.)

transport diagram reflecting the yaml below

The following shows a snippet alternative for the transport, where claudia uses alice's id for what is in her custody.

It is also valid to do this with an explicit transfer of custody, as below:

transport diagram reflecting the yaml below

Last updated

Was this helpful?