The easy way
Executor DAO
- Takes in deposits as xBTC
- Can offer direct BTC deposits via Magic
- Issues out DAO tokens
- DAO “hires” mining operator(s) to mine for it (similar to Maple finance delegate)
- DAO issues xBTC to miner
Miner(s)
- Receives xBTC and converts via Magic or out of band
- Mines
- Deposits proceeds back into DAO
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.
** includes the problem of having the funds as miner on the step 3 **
X, Y, Z set up the software for mining
A, B, C, D commit to X mining pool by submitting xBTC to the smart contract
the smart contract keeps track of how much xBTC and STX each user has
the BTC used is directly proportionate with the amount each one has invested
user | A | B | C | D | mining pool |
---|---|---|---|---|---|
xBTC invested | 0.1 | 0.2 | 0.3 | 0.4 | 1 |
sats fee per block | 1000 | 2000 | 3000 | 4000 | 10000 |
STX won | 100 | 200 | 300 | 4000 | 1000 |
smart contract gives the ability to auto-exchange the STX to xBTC and increase the values in the mining pools by updating the smart contract
if user A and B want to auto exchange to xBTC after winning 1 block from 4 blocks in which they participated:
the rapport between participants in the mining pool changed
initially: A = B/2 = C/3 = D/4
after mining with rewards: A = B/2; B/2 > C/3;
the rapport has to be updated by an operation that will trigger the calculation
Miner exchanges the xBTC unlocked to BTC ( Magic Protocol ) and uses it to mine STX
*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