Clarity Contracts
Last updated
Last updated
This graph summarizes the overall of the Clarity portion of the sBTC protocol.
Throughout this section, we'll expand on each contract and its functionality.
At a high level, the sBTC Clarity contracts are responsible for the following:
Core contract for meta signer functionality such as registration & the rotation process.
Processing contract called by the signers to record a consumed Bitcoin transaction & mint some amount of sBTC to a principal contained in the payload.
State storage for maintaining upgradability across protocol.
Interaction points for users and signers to update withdrawal request state.
In addition to the contracts themselves, there are two main user types that will interact with these contracts.
A signer that is part of the current sBTC signer set. More information on signers and their role in sBTC can be found in the Signer Process Walkthrough.
A participant in the Stacks/Bitcoin ecosystem that wants to deposit/withdraw/use sbtc.