Covenants, CTV, And Making Things Easier For Developers

Covenants, CTV, And Making Things Easier For Developers

Builder: Stu

Language(s): Rust

Contributes To: CTV Prototypes, Char Community

Work(s/ed) At: ZBD

Earlier than Bitcoin, Stu spent his days working as a Home windows System Administrator and in IT Help. His routine consisted of lengthy boring days of sitting in a chair participating in monotonous upkeep work, reconfiguring programs, and resetting passwords for customers who’d forgotten them.

It was the type of job the place an issue occurring that truly requires you to interact your consideration in a significant manner is so uncommon an prevalence that you just wind up sitting round hoping for one thing like that to occur more often than not. 

Stu spent most days simply searching by means of Reddit threads throughout his copious quantities of downtime. However this turned out to not be such a foul state of affairs in the long run, as this was how Stu discovered himself pulled into the Bitcoin house round 2017. 

Like many Bitcoiners, or reasonably soon-to-be Bitcoiners, again in that interval, Stu received sucked into the Preliminary Coin Providing (ICO) and altcoin frenzy of the time. Additionally, like many Bitcoiners round that point, he wound up getting burned financially by some dangerous investments in random unknown initiatives through which he in all probability shouldn’t have invested within the first place.

Inevitably the gravity of Bitcoin pulled him down the proverbial rabbit gap. 

After just a few years of studying extra deeply about Bitcoin, Stu hit a interval of frenzy and stop his job on the peak of the 2021 bull market to search for alternatives to work within the Bitcoin house. By that point the programming language Rust had develop into broadly utilized in completely different Bitcoin initiatives and libraries, so Stu started studying it in order that he may contribute to Bitcoin. 

In direction of the tip of 2022, his seek for a job within the house ended when he was employed by Michael Tildwell to work at ZBD, an organization that integrates bitcoin funds into videogames utilizing the Lightning Community. 

Working At ZBD 

Stu labored DevOps at ZBD, however in his free time he stored working at prototype Rust initiatives.

“Most of my side projects are related to what I was interested in at the time, as I was working at ZBD I started making games that could use bitcoin,” Stu informed Bitcoin Journal. 

To begin, he constructed a multiplayer net recreation, rain.run, based mostly round gamers amassing lightning bolts for rewards in satoshis, to get extra accustomed to constructing purposes which have to speak to one another over a community. Afterwards he constructed a easy connect4 recreation performed over the Nostr protocol. 

“[This] was a great way to learn how Nostr worked,” mentioned Stu.

“I attended btc++ in Austin in 2024, which was the Script edition.” The 4 day convention was probably the most dense discussion board for dialogue round Bitcoin script enhancements and covenants within the final yr or so. 

“There seemed to be, at the time, some kind of consensus developing for covenants on Bitcoin,” recalled Stu.

“This got me really interested in how Bitcoin script worked and [led] me to experimenting with Taproot and Bitcoin scripts…” he added.

“I didn’t really end up with much but it was a great way to learn how scripts worked.” 

TABConf, Fee Swimming pools, and CTV

In 2024, Stu attended TABConf, one other developer-focused convention, which is held yearly in Atlanta, Georgia. The conversations in Atlanta additionally revolved closely round covenants. 

Like all developer-focused conferences, TABConf placed on a hackathon. Stu selected to construct a venture utilizing Discreet Log Contracts (DLCs), which enabled customers to wager on the result of  chess matches. It turned very apparent to Stu that constructing software program round pre-signing giant numbers of transactions launched a variety of complexity for builders. 

Discussing this subject, he mentioned: “The answer to this problem seemed to be CHECKTEMPLATEVERIFY (CTV). As I wanted to learn more about covenants, CTV seemed like a good place to start, so I started integrating CTV into my DLC chess project. I couldn’t believe how simple it made everything…” 

Stu went on to construct a proof-of-concept prototype of a Fee Pool utilizing CTV. Fee swimming pools are a really fundamental layer 2 system the place teams of bigger than two share management over a single unspent bitcoin output. 

“One way we can scale bitcoin to be used by everyone, without using centralized third parties, is for users to share UTXO’s,” he mentioned when requested why he selected to work on a proof-of-concept for a fee pool. “Payment pools are a great way to do this, especially alongside other layer 2 solutions such as Lightning or Ark.” 

Covenants

Covenants have develop into a contentious subject within the dialogue about the place to take Bitcoin going ahead. Each developer has their private opinion on them, and Stu isn’t any exception. 

“I think using covenants to replace pre-signed transactions alone is an amazing improvement for developers to build faster and safer,” he mentioned. “It removes a lot of interactivity and friction for users, so there is less need for them to be online or coordinate with other parties, which can improve the user experience by a great deal.” 

I requested him if that is what drew him to constructing proof-of-concepts and prototypes utilizing CTV versus different covenant proposals.

“I was drawn to CTV because it was so simple to implement in the applications I wanted to build. Once I built the payment pool with CTV, I was planning on doing the same for all covenant proposals. I figured out how to get the exact same functionality with CAT, but it just took a very long time to get working, and added way more code. The Bitcoin script was like 50 lines of code, compared to CTV with like 3 lines.”

“I’m pretty sure there is consensus between protocol developers that there is no risk to Bitcoin if we enabled CTV…” he mentioned. “…so the argument now seems to be that the users don’t want it. But the users are already using applications and protocols such as Lightning and multisig vaults that would be improved by CTV. So…I think it should be the priority for the next soft fork…”

When requested in regards to the present contentious nature of the dialogue round covenants and the subsequent smooth fork, and the way the environment could possibly be improved, he had this to say:

“Someone needs to get Saylor to tweet a sandwich emoji and everything will be good.”

“But seriously, I don’t really know. Maybe more in person events where people can discuss face to face would help. It doesn’t seem like much of a technical reason that we aren’t making progress, more of a political one,” he went on to say in a extra critical tone. 

“I think some of the hesitance is more around making any change at all to Bitcoin. The reason it is so hard to change is an amazing property of Bitcoin, but it doesn’t have to extend to soft forks quite so much. It causes a lot of stress for certain Bitcoin developers, especially Bitcoin Core maintainers. Everyone is waiting on their opinion on the next fork, which seems to make them hesitant on joining in the conversation at all, which makes it hard to get consensus on any new change,” he mentioned. 

The Future

Stu not too long ago participated within the Bitcoin Open Supply Software program (BOSS) program by Chaincode Labs, a program designed as a manner for builders new to the Bitcoin ecosystem to chop their enamel and shortly develop a deeper understanding of and expertise with constructing on Bitcoin. 

Going ahead Stu goes to contribute to the Char Community, a considerably off the radar effort to construct a brand new bitcoin staking platform led by Jeremy Rubin, the developer who designed and proposed CTV. He plans to proceed engaged on his private facet initiatives and contributing to open supply initiatives as properly, with the eventual objective of beginning to contribute to Bitcoin Core itself. 

Stu had this to say about Bitcoiners’ priorities going into the longer term: 

“Our number one focus should be on making self custody better. It really sucks right now, and I think more Bitcoiners in general need to admit that. Backing up 12 words does sound simple, but it really isn’t that easy, and no one is doing it.” 

Supply hyperlink

author avatar
Crypto Dunia
bitcoin
Bitcoin (BTC) $ 106,572.55 1.05%
ethereum
Ethereum (ETH) $ 2,457.36 0.02%
tether
Tether (USDT) $ 1.00 0.00%
xrp
XRP (XRP) $ 2.20 1.18%
bnb
BNB (BNB) $ 653.05 0.03%
solana
Solana (SOL) $ 149.08 0.82%
usd-coin
USDC (USDC) $ 1.00 0.00%
tron
TRON (TRX) $ 0.278943 0.70%
dogecoin
Dogecoin (DOGE) $ 0.161603 1.96%
staked-ether
Lido Staked Ether (STETH) $ 2,457.45 0.05%
cardano
Cardano (ADA) $ 0.56279 0.29%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 106,490.53 1.07%
hyperliquid
Hyperliquid (HYPE) $ 39.09 1.76%
bitcoin-cash
Bitcoin Cash (BCH) $ 520.22 6.29%
wrapped-steth
Wrapped stETH (WSTETH) $ 2,966.22 0.08%
sui
Sui (SUI) $ 2.72 1.91%
chainlink
Chainlink (LINK) $ 13.19 0.01%
leo-token
LEO Token (LEO) $ 9.01 1.64%
stellar
Stellar (XLM) $ 0.237891 0.63%
avalanche-2
Avalanche (AVAX) $ 17.58 2.83%
usds
USDS (USDS) $ 1.00 0.00%
the-open-network
Toncoin (TON) $ 2.84 1.81%
shiba-inu
Shiba Inu (SHIB) $ 0.000011 1.44%
weth
WETH (WETH) $ 2,459.61 0.10%
litecoin
Litecoin (LTC) $ 85.65 0.00%
whitebit
WhiteBIT Coin (WBT) $ 44.47 2.88%
wrapped-eeth
Wrapped eETH (WEETH) $ 2,633.96 0.13%
hedera-hashgraph
Hedera (HBAR) $ 0.148815 0.12%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00 0.10%
monero
Monero (XMR) $ 319.39 1.53%
ethena-usde
Ethena USDe (USDE) $ 1.00 0.04%
bitget-token
Bitget Token (BGB) $ 4.53 0.36%
polkadot
Polkadot (DOT) $ 3.34 2.38%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 106,617.57 1.05%
uniswap
Uniswap (UNI) $ 7.04 1.77%
aave
Aave (AAVE) $ 268.51 0.97%
pepe
Pepe (PEPE) $ 0.00001 2.95%
pi-network
Pi Network (PI) $ 0.492116 2.30%
dai
Dai (DAI) $ 1.00 0.01%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.18 0.02%
aptos
Aptos (APT) $ 4.68 3.35%
okb
OKB (OKB) $ 49.60 0.68%
bittensor
Bittensor (TAO) $ 328.50 1.07%
blackrock-usd-institutional-digital-liquidity-fund
BlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00 0.00%
jito-staked-sol
Jito Staked SOL (JITOSOL) $ 180.93 0.83%
near
NEAR Protocol (NEAR) $ 2.10 3.23%
internet-computer
Internet Computer (ICP) $ 4.80 2.41%
crypto-com-chain
Cronos (CRO) $ 0.080721 0.12%
ethereum-classic
Ethereum Classic (ETC) $ 16.24 1.99%
ondo-finance
Ondo (ONDO) $ 0.754473 1.75%
susds
sUSDS (SUSDS) $ 1.06 0.02%
usd1-wlfi
USD1 (USD1) $ 1.00 0.04%
kaspa
Kaspa (KAS) $ 0.074317 2.88%
mantle
Mantle (MNT) $ 0.56788 2.73%
fasttoken
Fasttoken (FTN) $ 4.44 0.42%
gatechain-token
Gate (GT) $ 15.45 0.67%
tokenize-xchange
Tokenize Xchange (TKX) $ 23.32 12.55%
cosmos
Cosmos Hub (ATOM) $ 4.00 2.81%
vechain
VeChain (VET) $ 0.020846 1.21%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 0.672402 1.84%
official-trump
Official Trump (TRUMP) $ 8.68 2.93%
sky
Sky (SKY) $ 0.079371 2.77%
lombard-staked-btc
Lombard Staked BTC (LBTC) $ 107,612.83 0.06%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.183397 0.52%
arbitrum
Arbitrum (ARB) $ 0.327428 9.38%
render-token
Render (RENDER) $ 3.12 3.44%
algorand
Algorand (ALGO) $ 0.18624 3.71%
ethena
Ethena (ENA) $ 0.259882 2.97%
sei-network
Sei (SEI) $ 0.281883 9.14%
filecoin
Filecoin (FIL) $ 2.25 2.61%
jupiter-perpetuals-liquidity-provider-token
Jupiter Perpetuals Liquidity Provider Token (JLP) $ 4.45 0.47%
binance-peg-weth
Binance-Peg WETH (WETH) $ 2,458.65 0.06%
worldcoin-wld
Worldcoin (WLD) $ 0.874493 3.62%
first-digital-usd
First Digital USD (FDUSD) $ 0.998668 0.02%
usdtb
USDtb (USDTB) $ 1.00 0.02%
kucoin-shares
KuCoin (KCS) $ 11.05 0.66%
binance-staked-sol
Binance Staked SOL (BNSOL) $ 158.15 0.94%
jupiter-exchange-solana
Jupiter (JUP) $ 0.437863 3.89%
usdt0
USDT0 (USDT0) $ 1.00 0.06%
nexo
NEXO (NEXO) $ 1.22 1.89%
flare-networks
Flare (FLR) $ 0.017223 0.52%
rocket-pool-eth
Rocket Pool ETH (RETH) $ 2,799.38 0.05%
kelp-dao-restaked-eth
Kelp DAO Restaked ETH (RSETH) $ 2,576.07 0.00%
fartcoin
Fartcoin (FARTCOIN) $ 1.12 0.51%
spx6900
SPX6900 (SPX) $ 1.17 8.70%
bonk
Bonk (BONK) $ 0.000014 4.11%
polygon-bridged-usdt-polygon
Polygon Bridged USDT (Polygon) (USDT) $ 1.00 0.01%
injective-protocol
Injective (INJ) $ 10.43 4.64%
binance-bridged-usdc-bnb-smart-chain
Binance Bridged USDC (BNB Smart Chain) (USDC) $ 1.00 0.04%
blockstack
Stacks (STX) $ 0.646627 1.74%
sonic-3
Sonic (S) $ 0.305434 3.86%
optimism
Optimism (OP) $ 0.548331 5.65%
kaia
Kaia (KAIA) $ 0.164048 3.37%
virtual-protocol
Virtuals Protocol (VIRTUAL) $ 1.46 5.11%
xdce-crowd-sale
XDC Network (XDC) $ 0.058387 0.70%
paypal-usd
PayPal USD (PYUSD) $ 0.999565 0.03%
celestia
Celestia (TIA) $ 1.35 4.65%
pax-gold
PAX Gold (PAXG) $ 3,357.31 1.90%
mantle-staked-ether
Mantle Staked Ether (METH) $ 2,628.88 0.01%
stakewise-v3-oseth
StakeWise Staked ETH (OSETH) $ 2,597.19 0.59%
Scroll to Top