Smart Contracts Proposal MAST Inches Closer to Bitcoin's Code
A long-standing proposal to bring "smarter" smart contracts to bitcoin's main net has just taken one step closer to implementation.
:format(jpg)/cloudfront-us-east-1.images.arcpublishing.com/coindesk/TCZ3VMFEJFGWFCOYCOF4WX6DJU.jpg)
A long-standing proposal to bring "smarter" smart contracts to bitcoin's main net has just taken one step closer to implementation.
Developers have submitted a pull request for Merkelized Abstract Syntax Trees (MAST), marking the first time this smart contracts proposal has been the subject of a pull request seeking its integration into bitcoin's code.
The pull request combines pay-to-script-hash (P2SH) with MERKLE-BRANCH-VERIFY, allowing users to define how payments would occur. As previously reported by CoinDesk, these two features, combined with a third Bitcoin Improvement Proposal (BIP) called "Tail Call Execution Semantics," would allow users to create private smart contracts on the bitcoin network.
These private smart contracts would allow users to define their own criteria by which a payment would process, enabling multiple factors to be considered by the program. The smart contracts would then execute on their own.
The combination of BIPs would also allow for these smart contracts to be stored in a compact manner on the actual bitcoin blockchain, meaning they would not take up a large amount of block space, or the amount of data that can be stored within each block of transactions.
If developers and the broader bitcoin community approve of the change, it could be added to bitcoin by way of a soft fork.
Telecommunication mast image via Shutterstock
DISCLOSURE
Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.
The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.
Learn more about Consensus 2024, CoinDesk’s longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.