Skip to content

Transactions

George Agapov edited this page Sep 30, 2016 · 2 revisions

Transactions are proposed by Users. User has control over an arbitrary amount of wallets, each holding some amount of coins (potentially of different colors, as described in Color coins). To send money, you describe from which wallets you want to take which amount of money (and of which color) and to which addresses you want to send this money. It's flexible in a sense that you may send 12 blue colored coins to A from wallet X and 100 greens to B from wallet Y and so on.

General workflow

Being formed, transaction has to go through following workflow to apply it:

  1. User sends transaction to Mintettes
  2. Mintettes agree User has enough money on mentioned accounts
  3. Mintettes save transactions locally
  4. On period end Bank applies transaction
    1. Bank gathers new transactions from Mintettes
    2. Bank publishes these transactions to everyone
  5. Actors update their internal data structures with new wallet amount values

Multisig transactions

For MS addresses workflow should be slightly updated. We now have not single, but few holders of input, so we need to collect signatures (a notion of confirmation) from M of N holders. Hence, we introduce additional step. Whole workflow is as follows

  1. Collect signatures from all parties
  2. Publish transaction on Notary
  3. Wait all parties conform their signatures
  4. Take transaction off the Notary and do
  5. Do steps 1.-5. from previous section
Clone this wiki locally