Accounts

Accounts are simple keypairs.

type account = {
  userId: string,
  secret: string,
}

The secret allow userId to authenticate data using digital signatures.

We use accounts in two case: