Skip to content

Domain layer #4

Closed
Closed
@altafan

Description

@altafan

The job of the ASP is to perpetually create rounds that start by collect the input and output of payments and end with a (pool) transaction broadcasted to the network that makes those payments effective.

Assuming the usage of an external wallet for onchain utxos and keys management, for the PoC we need the following domains:

  • Payment
    • id - used as "link" between inputs and outputs
    • forfeit_tx - contains the inputs of the payment to be signed by both ASP and user
    • output - list of <pubkey, amount>, aka the vTXO to be created for the user in the current round
  • Round
    • txid - id of the pool tx broadcasted, used as ID of the round
    • start - starting time of the round
    • end- end time of the round
    • stage - the current stage of the round, either registration, signing or finalization

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions