Signer Process Walkthrough
Introduction
This document provides a detailed overview of the sBTC system, focusing on the operations of an sBTC signer node. We'll explore the automated processes and software interactions that occur in the sBTC ecosystem.
A step-by-step guide for setting up and running a sBTC signer node is in the works. This is a conceptual guide to help signers understand what their role looks like in the sBTC system.
Signer Node Setup
As an sBTC signer, your primary responsibility is to run and maintain a signer node. Here's what that entails:
Day-to-Day Operations
Once set up, your signer node operates autonomously, performing the following tasks:
Processing Mint Requests
Upon confirming a deposit:
The node automatically prepares a signature for the mint operation using its private key.
It submits this signature to the sBTC Deposit contract on the Stacks blockchain.
The contract verifies the signature and combines it with signatures from other signer nodes.
Once enough valid signatures are collected, the contract mints the corresponding amount of sBTC.
Handling Withdrawal Requests
For sBTC withdrawal requests:
The node monitors the sBTC Withdrawal contract for new requests.
Upon detecting a request, it verifies the user's sBTC balance and the request's validity.
The node automatically signs the withdrawal operation and submits its signature.
Once enough signatures are collected and the sBTC is burned, the node participates in creating and signing a Bitcoin transaction to fulfill the withdrawal.
The signed Bitcoin transaction is broadcast to the Bitcoin network.
Was this helpful?
