The three modes at a glance
| Mode | Message format | Instruction | Best for |
|---|---|---|---|
| Direct | ryvo-cmt-v5 | settle_individual | One payer, one payee, one channel |
| Bundle | Many ryvo-cmt-v5 | settle_commitment_bundle | One payee aggregating many payers |
| Cooperative clearing | Ryvo-round (BLS round body) | settle_clearing_round | Several participants advancing many channels together |
Direct settlement
One signedryvo-cmt-v5 moves one channel forward. The payee submits it with settle_individual.
- Signatures: 1 (the channel’s
authorized_signer) - On-chain writes: 1 channel, 2 participants
- Coordination: none
- When to use: the baseline path for any new integration
Bundle settlement
The payee collects manyryvo-cmt-v5 messages from many payers in the same token and settles them in one transaction with settle_commitment_bundle.
- Signatures: one per included channel (each payer signs independently)
- On-chain writes: N channels, N+1 participants
- Coordination: none between payers
- When to use: one provider with many paying clients
Cooperative clearing
Several participants sign one shared clearing-round message.settle_clearing_round advances every included channel in a single transaction. Channel state always moves to the signed cumulative target for each included lane.
- Signatures: one aggregate BLS signature over the shared round body
- On-chain writes: all included channels, plus participant-bucket balance updates
- Coordination: all participants must agree on and sign the same round
- When to use: a known group of participants with bidirectional payment flow
Choosing a mode
Start with direct settlement. Promote to bundle settlement when one payee is settling many payers in the same token. Promote to cooperative clearing when a known set of participants has mutual payment flow and is willing to coordinate. You do not have to pick one. A real deployment can use all three simultaneously, with different relationships at different points on the coordination and density spectrum.See also
- Commitments - the shared signed-message primitive
- Direct settlement
- Bundle settlement
- Clearing rounds
- Benchmarks methodology
