HomeBlockchainBitcoin: a new programming language for smart contracts

Bitcoin: a new programming language for smart contracts

Through a recent mailing list, programmer Pieter Wuille has unveiled a new programming language designed specifically to create smart contracts on the Bitcoin blockchain.

This programming language, called Miniscript, aims to simplify the compilation of smart contracts or conditions on how to spend bitcoin; the project has required more than a year of development and the collaboration between Andrew Poelstra and Sanket Sanjalkar.

“Miniscript is a project we’ve been working on for the past year or so, and is now at a stage where I’d like to get it some more attention.”

The programming language is based on Script, which is the basic language for writing smart contracts on Bitcoin and which allows, for example, to specify certain conditions when spending bitcoin or to schedule the unfreezing of funds.

Open-source codes are available for both C++ and Rust, hence from now on all developers can start testing Miniscript in order to improve the project by allowing additional functions to be integrated.

“Miniscript is designed for Bitcoin as it exists today (primarily P2WSH), and does not need any consensus changes. That said, we plan to extend the design to support future script changes Bitcoin may include”, the email explains.

Alfredo de Candia
Alfredo de Candia
Android developer for over 8 years with a dozen of developed apps, Alfredo at age 21 has climbed Mount Fuji following the saying: "He who climbs Mount Fuji once in his life is a wise man, who climbs him twice is a Crazy". Among his app we find a Japanese database, a spam and virus database, the most complete database on Anime and Manga series birthdays and a shitcoin database. Sunday Miner, Alfredo has a passion for crypto and is a fan of EOS.