Flow diagrams

Diagram with the flow of the miners and transactions

As displayed there are a few bitcoin transactions
To participate in the mining process:
  1. 1.
    sending funds from each miner to the taproot FROST multisig script address
  2. 2.
    unlocking the funds by signing with at least K miners (the threshold picked) and sending them to the Stacks address
To commit the Stacks block on Bitcoin when winning:
  1. 1.
    miners again send funds to the taproot FROST multisig script address
  2. 2.
    the script spends path is unlocked, the block is committed and the rewards will get on the Stacks' address of the Smart Contract.

The script miners are sending funds to

The script is thought out so that funds are never lost. If the transaction is not signed by at least K miners, each miner can reclaim his funds from the script after a picked number of blocks, 10 in this case.