A Deep Dive Into The sBTC Smart Contracts On Stacks
Автор: Hiro
Загружено: 18 дек. 2024 г.
Просмотров: 511 просмотров
Now with sBTC live on the Stacks mainnet, fully unlocking capital into Layer 2 networks in a trust minimized manner is now a reality. There is a huge protocol system that acts as the backbone of sBTC with its smart contracts also playing an important role.
In December's Smart Contract of the Month feature, we'll take a look a deep dive into the important functionality of sBTC's Clarity smart contracts.
For the sBTC contracts repo:
https://github.com/stacks-network/sbt...
For a brief overview of sBTC:
https://www.hiro.so/blog/unlocking-bi...
For the deployed instantiation of the sBTC registry contract on Stacks mainnet:
https://explorer.hiro.so/txid/SM3VDXK...
To start converting BTC to sBTC:
https://bitcoinismore.org
00:00 Intro
00:46 Overview
03:51 Breaking down the sbtc-deposit contract
05:24 Explaining the sweep transaction
06:08 Walkthrough of complete-deposit-wrapper
10:01 Reading Bitcoin state from Clarity
12:20 Breaking down the sbtc-withdrawal contract
16:50 Breaking down the sbtc-bootstrap-signers contract
19:37 Constructing a multi-sig principal from multiple pubkeys
21:48 Breaking down the sbtc-token contract
/-/ /-/ /-/ /-/ /-/ /-/ /-/
Learn more about Hiro's developer tooling:
https://www.hiro.so
Follow us on Twitter:
https://x.com/hirosystems
Developers, dive into the docs:
https://docs.hiro.so
To start learning the Clarity smart contract language:
https://clarity-lang.org
Learn more about the Stacks blockchain:
https://www.stacks.co/

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: