Categories: News

Peter Wülle Introduces Miniscript – A New Smart Contract Language For Bitcoin

Deploying smart contracts in Bitcoin can be easier – developer Peter Wuille introduced a new programming language designed specifically for their use.

Miniscript is called
make it easier for programmers to create more complete smart contracts in Bitcoin. According to Wülle, he himself, Andrew Poelstra and Sanket Sanjalkar worked on the code for about a year. Although this was known in the developer community, Wülle noted that he decided to publish the language on the developer mailing list only this week, because now he has reached “the stage where I would like to draw more attention to it”.

Miniscript is based on the Script smart contract language, which allows users to specify certain conditions that must be met before Bitcoins can be spent. The code proposed by Wülle improves the base language in several directions at once.

For example, a developer notes that using code has become easier. As an example, he cites a situation where “user A can pick up coins at any time, and user B in one day.” Here’s how these rules are implemented in Script code:

OP_EQUALVERIFY OP_CHECKSIGVERIFY <144> OP_CSV OP_ENDIF

And so in Miniscript:

or_d (c: pk (A), and_v (vc: pk_h (B), older (144)))

Miniscript is built on the basis of Script and is able to “compile” into the native language of Bitcoin.

The new code has been approved by the community. For example, Blockstream engineer Rusty Russell wrote on Twitter:

“This will be one of those technologies that will greatly simplify our lives. It will be implemented quietly, but it will be vital. ”

There are many potential uses for the language, such as simplifying the implementation of complex scripts in a wallet, as Eric Lombrozo wrote. Or, as Jimmy Song noted, the code can even be used to support the Lightning Network.

Song also said that this language of smart contracts is different from the language of Solidity in Ethereum. Although Ethereum allows you to write much more types of smart contracts, Miniscript offers more modest features. However, according to Song, this is for the better, as it “reduces the complexity and the ability to attack.”

The code release includes two working implementations in the programming languages ​​C ++ and Rust, which Wulle called “incomplete”, adding:

“Thanks to large-scale randomized tests, we are confident that language design and related evidence are compatible with existing consensus and standardization rules.”

In May of this year, Peter Wulle introduced
two BIPs for the future Bitcoin soft fork.

Miners Hashrate

Recent Posts

Mining RTX 3070 at NiceHash: Overclocking, tuning, profitability, consumption

Mining on RTX 3070. Overclocking, tuning, profitability, consumption: If you are interested in finding more…

6 months ago

Mining GTX 1660, 1660 Ti, 1660 Super: Overclocking, settings, consumption

Mining with GTX 1660, 1660 Ti, 1660 Super. Overclocking, settings, consumption, profitability, comparisons - If…

6 months ago

Mining RTX 2070 and 2070 Super: Overclocking, profitability, consumption

Mining with RTX 2070 and 2070 Super. Overclocking, profitability, consumption, comparison What the RTX 2070…

6 months ago

Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption

Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption, profitability, comparison Let's look at…

6 months ago

Alphacool Eisblock Aurora Acryl GPX-A Sapphire – test: 2.8 GHz++ are not an issue

Alphacool Eisblock Aurora Acryl GPX-A (2022) with Sapphire Radeon RX 6950 XT Nitro+ Pure in…

6 months ago

Corporate Crypto Strategies 4.0: Leading with Bitcoin Expertise

In the ever-evolving landscape of business strategy, Bitcoin has emerged as a pivotal asset. With…

6 months ago

This website uses cookies.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420