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.

AccessTimeIconJan 9, 2018 at 8:04 p.m. UTC
Updated Sep 13, 2021 at 7:21 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

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 an award-winning media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. In November 2023, CoinDesk was acquired by Bullish group, owner of Bullish, a regulated, institutional digital assets exchange. Bullish group is majority owned by Block.one; both groups have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary, and an editorial committee, chaired by a former editor-in-chief of The Wall Street Journal, is being formed to support journalistic integrity.


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.