CB-23Q2-02.1 : Decentralized Staking Pool #844
Replies: 11 comments 11 replies
-
There is an open source web app by hiro for stacking pools: https://github.com/hirosystems/btcweb3 There is a smart contract for self service stacking pools, that decentralizes all pool operations but the reward payout: https://github.com/friedger/clarity-stacking-pools |
Beta Was this translation helpful? Give feedback.
-
Congrats on being awarded this Critical Bounty @BowTiedDeployer This discussion thread should be used for all payment requests for your grant. Please follow these steps:
Your CB fee of $45k will be paid out in (5) $9k payments at the following milestones:
Work with @Macxim |
Beta Was this translation helpful? Give feedback.
-
Milestones in order of implementation:
|
Beta Was this translation helpful? Give feedback.
-
Congrats @BowTiedDeployer and @Macxim |
Beta Was this translation helpful? Give feedback.
-
Milestone 1 - Smart Contract completed
@will-at-stacks |
Beta Was this translation helpful? Give feedback.
-
Update: We are approximately 40% done with everything. Next major steps: |
Beta Was this translation helpful? Give feedback.
-
Milestone 4 completed - Bridge STX <-> BTC with the main incentive for miners and stackers
Gitbook |
Beta Was this translation helpful? Give feedback.
-
Milestone 3 completed - Front End
Gitbook |
Beta Was this translation helpful? Give feedback.
-
Is this a good description of the outcome? The main flow is that a liquidity provider locks a certain amount of stx in a smart contract, let's say 100k STX. It should be an estimate of the rewards for the next cycle. Then pool members extend their stacking knowing that there will be up to 100k of STX in rewards. The distribution happens by submitting each bitcoin block that was a reward slot for the pool to the reward-vault contract. With that, stackers can get their share immediately when the pool received a reward using a price oracle for btc/stx minus a 5% fee that is transferred to the liquidity provider at the same time. At the end of the cycle all remaining stx from the reward vault can withdrawn by the liquidity providerand the liquidity provider keeps the btc rewards. If the reward vault was emptied by the reward distribution before the last reward slot, then the liquidity provider made an additional profit. |
Beta Was this translation helpful? Give feedback.
-
In the docs there is still pox-2 referenced. Do you have already some instructions how to test? |
Beta Was this translation helpful? Give feedback.
-
Introduction:
sBTC is a SIP-010 fungible token on the Stacks blockchain that can be used in DeFi protocols, NFT marketplaces, DAOs, governance, and several other use-cases. The sBTC Bridge is a trustless two-way mechanism that allows users to wrap and unwrap BTC as sBTC. The consensus mechanism relies on validation from users that are currently stacking STX tokens. Also known as Stackers.
These added responsibilities related to transaction signing for Stackers could result in centralization risks should too many Stackers delegate their signing responsibilities to centralized Stacking Pool Operators. In order to counter this risk, Decentralized Stacking Pools must be prioritized.
Critical Bounty Mission Statement:
The purpose of this Critical Bounty is to support the development of trustless Decentralized Stacking Pools.
An interesting, complement to this bounty is the exploration of using the Decentralized Stacking Pool system delivered to add liquidity to Decentralized Mining Pools (in the form of BTC) and/or bridges (in the form of xBTC and/or sBTC) via the rehypothecation of BTC rewards earned via Stacking.
Functionality / Deliverables (shall include, but not be limited to):
Required Knowledge / Skills:
References:
Critical Bounty Fee:
Reviewers / Advisors:
Igor Sylvester, Core Engineering Lead, Trust Machines
Jude Nelson, Research Scientist, Stacks Foundation
Tycho Onnasch, General Manager, Trust Machines
Friedger Müffke
Andre Serrano, sBTC Resident and sBTC Go To Market Working Group Lead
Jesse Wiley, Integration and Security Lead, Stacks Foundation
Kenny Rogers, Developer Advocate, Stacks Foundation
Will Corcoran, Grants Lead, Stacks Foundation
Additional Comments:
Recipient will be expected to attend sBTC Core Engineering Working Group calls while the bounty is in development and provide weekly updates.
APPLY HERE
NOTES ABOUT CRITICAL BOUNTIES:
If you have thoughts, questions, or comments on the rough outline for this Critical Bounty above, please comments below.
Please note, all 2023 Q2 Critical Bounties that have funding approved for them will be moved to the Issues page (here) on Tuesday 03/21/2023.
Some procedural items to keep in mind with 2023 Q2 Critical Bounties:
Beta Was this translation helpful? Give feedback.
All reactions