We need an off-chain transaction composition and signing protocol that would be sitting in between raw transactions and higher-level application-specific APIs. E.g. "payment protocol" or "payment channels" or "trading protocol" would all need this common middle-level protocol to implement exchange of public keys, blinding factors, signatures etc.
This protocol should enable the following:
Pay to address
Open/Close/Update a payment channel
Propose/Fulfill a swap
Else?..
Specifics:
Specify the number of outputs.
Each output contains an asset flavor, quantity, blinding factors, predicate.
We need an off-chain transaction composition and signing protocol that would be sitting in between raw transactions and higher-level application-specific APIs. E.g. "payment protocol" or "payment channels" or "trading protocol" would all need this common middle-level protocol to implement exchange of public keys, blinding factors, signatures etc.
This protocol should enable the following:
Specifics: