DAO Case

The easy way

Executor DAO

Miner(s)

Explanations

By having a straightforward process for creating and deploying mining pools smart contract and interface a few things will happen:

Because of the current interaction between STX, BTC, Magic Protocol the fees for mining should be sent for multiple blocks in advance ( at least 100 blocks, up to 500 if magic protocol does not have a supplier for that amount in that moment ), creating an even bigger loss from the start.

Eg. of implementation for this

** includes the problem of having the funds as miner on the step 3 **

  1. X, Y, Z set up the software for mining

    1. Stacks Node
    2. Bitcoin Node
    3. Mining pool Smart Contract
    4. Front End Interface website to communicate with the Smart Contract
    5. something to keep track of xBTC/ BTC locked/used and the STX earned ( STX converted to xBTC next )
  2. A, B, C, D commit to X mining pool by submitting xBTC to the smart contract

  3. Miner exchanges the xBTC unlocked to BTC ( Magic Protocol ) and uses it to mine STX

    1. If the block is won, send a BTC transaction, mine the STX block, and claim rewards
    2. else, nothing
    3. because magic protocol technicalities:
      1. for the swap to happen it needs a supplier who accepts it, the transaction can be locked for x amount of blocks ( 200 -500 blocks = 1.5 - 3.5 days ) and still not happen
      2. so the miner should already have access to that amount of BTC
      3. if the miner has the amount for a few hundred blocks in his custody, he can stop mining and leave with those funds
      4. https://magicstx.gitbook.io/magic-protocol/guides/technical-overview
    4. for LNSwap
      1. swaps funds at a given rate by the LNSwap pool
      2. can’t swap big amounts in a single transaction ( max 5000 STX once )
      3. if continuously doing the process of swapping only xBTC to BTC the pool will become more illiquid

    *1 - the whole process can't force the miner to secure it with an equal amount as collateral because that would defeat the need for the other participants to the mining pool. If I can mine alone with that amount, there is no need to mine together with you and others and have more fees and % because of all the intermediate swaps