Coindesk Logo

Smart Contracts Proposal MAST Inches Closer to Bitcoin's Code

Smart Contracts Proposal MAST Inches Closer to Bitcoin's Code

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.

A long-standing proposal to bring "smarter" smart contracts to bitcoin's main net has just taken one step closer to implementation.

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, 8:04 PM
Updated Aug 18, 2021, 7:53 PM

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

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 have been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


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.