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

bitcoin
Bitcoin (BTC) $ 95,334.54 1.44%
ethereum
Ethereum (ETH) $ 1,816.85 0.52%
tether
Tether (USDT) $ 1.00 0.01%
xrp
XRP (XRP) $ 2.32 6.20%
bnb
BNB (BNB) $ 608.12 1.23%
solana
Solana (SOL) $ 151.66 2.44%
usd-coin
USDC (USDC) $ 1.00 0.00%
dogecoin
Dogecoin (DOGE) $ 0.181489 0.27%
cardano
Cardano (ADA) $ 0.722447 3.66%
tron
TRON (TRX) $ 0.247046 1.18%
staked-ether
Lido Staked Ether (STETH) $ 1,813.10 0.45%
sui
Sui (SUI) $ 3.80 4.62%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 95,329.54 1.31%
chainlink
Chainlink (LINK) $ 14.97 3.01%
avalanche-2
Avalanche (AVAX) $ 22.30 0.81%
stellar
Stellar (XLM) $ 0.288459 2.07%
the-open-network
Toncoin (TON) $ 3.31 1.36%
leo-token
LEO Token (LEO) $ 9.00 0.14%
hedera-hashgraph
Hedera (HBAR) $ 0.196026 3.93%
shiba-inu
Shiba Inu (SHIB) $ 0.000014 1.80%
wrapped-steth
Wrapped stETH (WSTETH) $ 2,183.29 0.61%
usds
USDS (USDS) $ 1.00 0.00%
bitcoin-cash
Bitcoin Cash (BCH) $ 355.05 0.73%
litecoin
Litecoin (LTC) $ 87.24 0.96%
polkadot
Polkadot (DOT) $ 4.23 2.81%
hyperliquid
Hyperliquid (HYPE) $ 18.28 4.04%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00 0.06%
bitget-token
Bitget Token (BGB) $ 4.42 0.01%
weth
WETH (WETH) $ 1,818.11 0.53%
monero
Monero (XMR) $ 271.67 18.93%
ethena-usde
Ethena USDe (USDE) $ 0.999939 0.03%
pi-network
Pi Network (PI) $ 0.614459 3.21%
whitebit
WhiteBIT Coin (WBT) $ 29.25 0.44%
wrapped-eeth
Wrapped eETH (WEETH) $ 1,940.03 0.68%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 95,418.57 1.50%
pepe
Pepe (PEPE) $ 0.000009 1.36%
aptos
Aptos (APT) $ 5.62 1.06%
uniswap
Uniswap (UNI) $ 5.61 1.75%
dai
Dai (DAI) $ 1.00 0.04%
bittensor
Bittensor (TAO) $ 373.16 7.17%
okb
OKB (OKB) $ 52.22 0.59%
near
NEAR Protocol (NEAR) $ 2.58 0.92%
ondo-finance
Ondo (ONDO) $ 0.985453 2.44%
official-trump
Official Trump (TRUMP) $ 15.02 1.94%
gatechain-token
Gate (GT) $ 22.49 0.87%
internet-computer
Internet Computer (ICP) $ 5.16 1.27%
susds
sUSDS (SUSDS) $ 1.05 0.02%
kaspa
Kaspa (KAS) $ 0.099377 1.65%
aave
Aave (AAVE) $ 170.76 1.01%
ethereum-classic
Ethereum Classic (ETC) $ 16.90 0.27%
blackrock-usd-institutional-digital-liquidity-fund
BlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00 0.00%
crypto-com-chain
Cronos (CRO) $ 0.092768 1.85%
mantle
Mantle (MNT) $ 0.743362 2.49%
tokenize-xchange
Tokenize Xchange (TKX) $ 31.05 3.25%
vechain
VeChain (VET) $ 0.027763 4.33%
render-token
Render (RENDER) $ 4.44 1.02%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.244759 0.62%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.17 0.00%
algorand
Algorand (ALGO) $ 0.231784 4.39%
cosmos
Cosmos Hub (ATOM) $ 4.45 0.75%
ethena
Ethena (ENA) $ 0.354953 0.51%
lombard-staked-btc
Lombard Staked BTC (LBTC) $ 95,213.51 1.24%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 0.724599 5.53%
fasttoken
Fasttoken (FTN) $ 4.29 0.36%
filecoin
Filecoin (FIL) $ 2.78 1.92%
celestia
Celestia (TIA) $ 2.97 4.29%
sonic-3
Sonic (prev. FTM) (S) $ 0.536422 3.05%
arbitrum
Arbitrum (ARB) $ 0.344496 1.49%
bonk
Bonk (BONK) $ 0.000021 10.95%
jupiter-perpetuals-liquidity-provider-token
Jupiter Perpetuals Liquidity Provider Token (JLP) $ 4.15 1.16%
first-digital-usd
First Digital USD (FDUSD) $ 0.996925 0.17%
worldcoin-wld
Worldcoin (WLD) $ 1.14 2.68%
solv-btc
Solv Protocol SolvBTC (SOLVBTC) $ 95,305.54 1.54%
jupiter-exchange-solana
Jupiter (JUP) $ 0.477012 2.98%
blockstack
Stacks (STX) $ 0.884743 1.46%
kucoin-shares
KuCoin (KCS) $ 10.58 0.53%
optimism
Optimism (OP) $ 0.791669 1.74%
xdce-crowd-sale
XDC Network (XDC) $ 0.080706 8.11%
maker
Maker (MKR) $ 1,505.06 0.29%
binance-staked-sol
Binance Staked SOL (BNSOL) $ 158.99 2.37%
nexo
NEXO (NEXO) $ 1.24 11.06%
fartcoin
Fartcoin (FARTCOIN) $ 1.16 10.80%
sei-network
Sei (SEI) $ 0.216465 9.05%
binance-peg-weth
Binance-Peg WETH (WETH) $ 1,817.94 0.58%
story-2
Story (IP) $ 4.06 3.87%
flare-networks
Flare (FLR) $ 0.017205 4.43%
immutable-x
Immutable (IMX) $ 0.593796 0.68%
kelp-dao-restaked-eth
Kelp DAO Restaked ETH (RSETH) $ 1,893.37 0.48%
eos
EOS (EOS) $ 0.685099 2.51%
injective-protocol
Injective (INJ) $ 10.15 1.95%
usdt0
USDT0 (USDT0) $ 1.00 0.03%
the-graph
The Graph (GRT) $ 0.100659 0.20%
wbnb
Wrapped BNB (WBNB) $ 607.97 1.21%
binance-bridged-usdc-bnb-smart-chain
Binance Bridged USDC (BNB Smart Chain) (USDC) $ 1.00 0.03%
curve-dao-token
Curve DAO (CRV) $ 0.669219 1.46%
paypal-usd
PayPal USD (PYUSD) $ 1.00 0.01%
raydium
Raydium (RAY) $ 3.01 2.74%
rocket-pool-eth
Rocket Pool ETH (RETH) $ 2,062.99 1.03%
iota
IOTA (IOTA) $ 0.224656 8.61%
jasmycoin
JasmyCoin (JASMY) $ 0.017285 2.86%
Scroll to Top