SegWit Creator Introduces New Language for Bitcoin Smart Contracts

Published at: Aug. 21, 2019

Bitcoin Core developer Pieter Wuille has introduced a new Bitcoin (BTC) smart contract programming language called Miniscript.

Wuille, a creator of major Bitcoin network upgrade SegWit, announced the Miniscript project website on the mailing list message for Bitcoin developers on Aug. 19.

Miniscript was developed and implemented by Wuille, Andrew Poelstra and Sanket Kanjalkar at Canadian blockchain tech firm Blockstream Research. Wuille claimed that the project took the developers about a year, and it has now reached the stage where it needs to get more attention.

Mini-Bitcoin script

Miniscript is a language for writing a subset of Bitcoin scripts in a structured way, which enables analysis, composition, generic signing and others. Meanwhile, Bitcoin script is a basic programming language that makes smart contracts on the Bitcoin network possible by enabling users to set specific conditions for a certain transaction to be completed.

According to Wuille, the adoption of Miniscript could reduce some of the barriers between pieces of software used in smart contracts, and also provide a multisig ecosystem that functions in a more effective way than simple script language. He explained on Twitter:

“Imagine a company wants to protect its cold storage funds using a 2-of-3 multisig policy with 3 executives. One of the executives however has a nice 2FA/multisig/timelock based setup on his own. Why can't that entire setup be one of the multisig "participants"? A lot of work is focused on extensions to the functionality of the blockchain itself to support more complex application, but I feel we're forgetting that using these features in an accessible, composable, analyzable way is basically impossible today.”

Script analysis made easier

While Miniscript is basically a reformulation of Bitcoin script and remains the same script language, it allows wallets and other software to construct and analyze scripts more effectively, Wuille explained on Reddit.

In the post, Wuille provided an example of how the same notation would look in basic Bitcoin script in comparison with one in Miniscript.

Miniscript is now available in implementations for C ++ and Rust, Wuille wrote, adding that work on the project is ongoing. The developer clarified that Miniscript is designed for Bitcoin as it exists to date and does not require any consensus changes.

Tags
Related Posts
Smart contracts are coming to Bitcoin through Dfinity’s Internet Computer
Dfinity Foundation’s Internet Computer blockchain is bringing smart-contract capabilities to the Bitcoin (BTC) network, potentially opening the door to new use cases for the premier cryptocurrency. Internet Computer will utilize its so-called chain key cryptography to integrate with Bitcoin, paving the way for smart contracts with native BTC addresses that are hosted directly on Internet Computer, Dfinity Foundation announced Tuesday. “Internet Computer smart contracts will gain access to bitcoin liquidity, and Bitcoin will gain powerful new smart contract functionality, without the need for insecure and cumbersome trusted bridging services,” explained Dominic Williams, the founder and chief scientist of Dfinity Foundation. …
Bitcoin / Sept. 21, 2021
Respect the Pomp: RSK’s token spikes 30% after founder appears on podcast
RIF, the utility token for smart contract network RSK, shot up over 30% in price after an appearance by its founder on the Jan. 13 edition of The Pomp Podcast. The gain equates to a $36 million increase in market cap for RIF, most of which has occurred in the last 12 hours. $RIF up 20% now and it's just the beginning. Building infrastructure on top of #bitcoin The most secure network in the world. — TradingToolCrypto (@RealTradingTool) January 14, 2021 RIF, short for “RSK Infrastructure Framework,” is the token used as payment for decentralized infrastructure services which operate under …
Adoption / Jan. 15, 2021
Jack Dorsey’s Square Inc. to invest $5M in Blockstream Bitcoin mining facility
Square Inc., a crypto-friendly mobile payments company, is planning to invest $5 million in a solar-powered Bitcoin (BTC) mining facility for Blockstream Mining, offering further insight into Jack Dorsey’s continued support for blockchain infrastructure. Chris Cook, Blockstream’s chief information officer, announced the collaborative partnership on Saturday, where he outlined plans to build the open-sourced mining facility at one of Blockstream’s United States operations. "Together, we plan to provide public transparency by sharing the project economics and knowledge we’ve gained from building a Bitcoin mine powered by renewable energy,” he said, adding: “Ultimately, we hope to demonstrate how bitcoin mining in …
Bitcoin / June 5, 2021
Wolfram Alpha teams up with Cardano to build 'avant-garde oracles'
Wolfram Alpha, a major computational knowledge engine providing technology for major services such as Apple’s Siri assistant, is integrating data from the Cardano blockchain. According to a Thursday announcement, Wolfram Blockchain Labs, or WBL — a subsidiary of Wolfram Research — has partnered with Charles Hoskinson-founded tech company IOHK. As part of the partnership, WBL will integrate Cardano’s blockchain data into Wolfram Alpha, allowing developers to integrate external data into Cardano’s smart contracts. The new partnership will specifically address work on the so-called “avant-garde oracles,” which the companies believe are a necessary component to build advanced smart contracts. According to …
Technology / Dec. 17, 2020
Charles Hoskinson: Blockstream Founder Adam Back 'Checks All The Boxes' as Satoshi
In a recent Cointelgraph interview, Ethereum co-founder and Cardano founder Charles Hoskinon said that he believes that Adam Back “checks all the boxes” as a Satoshi Nakamoto candidate. The puzzle of Satoshi’s true identity never seems to get old. Although Hoskinson admits that he does not have any hard evidence connecting the Blockstream’s founder to the pseudonymous Bitcoin creator, he did make a mental profile of Satoshi — Back seemingly has a perfect fit. Hoskinson believes that Satoshi was somebody, who lived either in Western Europe of the coastal United States, was comfortable with British English, and had a background …
Bitcoin / May 26, 2020