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.

As noted in the statement, 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, as Wuille describes it in short. 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 language.

Script

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.

Updated: 11-4-2019

This Startup’s Upgrade Code Can Be Used by Any Bitcoin-Based Blockchain

A small blockchain company out of Arizona has built open-source software that it says any bitcoin-based blockchain could use to improve its functionality.

Nexus announced Monday what it called its seventh “activation” – a protocol upgrade that brings smart-contract functionality to the Nexus blockchain, which launched as a fork of the original bitcoin protocol in 2014. Deployed today, the activation goes into full effect Nov. 11.

If all goes well, other blockchains can feel free to follow suit by borrowing the code.

“Part of the intention was to use the original bitcoin code from the 2014 era to upgrade that into our framework,” Nexus founder Colin Cantrell told CoinDesk. “Any blockchain that uses the legacy UTXO can actually upgrade smart contracts over their live blockchain without having to do a chain reset or anything like that.”

UTXO stands for “unspent transaction output” but it’s also become a shorthand for blockchains based on bitcoin. The basic idea is that such a blockchain verifies there is money to be spent before it spends it, which is part of preventing the double-spend problem.

“All the bitcoin forks could essentially upgrade and potentially utilize it,” Cantrell said of his company’s latest release.

Even if they didn’t want to add smart-contract functionality, Cantrell argued that the Nexus codebase offers other improvements for UTXO chains – like much faster syncing for nodes and lower disk space usage, for example.

What Is Nexus?

Nexus launched in 2014 and it has self-funded so far by directing a portion of the newly minted coins to the team building the network.

With a market cap at $19.4 million as of this writing and a token price that has steadily sat at about $0.30 since last November, the project has had to generate enough value for its emitted tokens to support the team’s work. (The price briefly rose as high as $13.00 in early 2018.)

Nexus had no pre-mine, no venture capital and no initial coin offering.

Cantrell said it started as a basic bitcoin fork, but Nexus has had several activations since it went live. Now it uses two different proof-of-work chains and a proof-of-stake system. And with the new Tritium upgrade, it also has smart-contract functionality with competitive transaction times.

“One of the biggest things we’ve seen is that scalability is not a feature. It’s kind of a requirement,” Cantrell said. The startup claims it can manage anywhere from 2,000 to 25,000 transactions per second. (One of the highest-throughput blockchains, XRP, consistently hits 1,500 transactions per second.)

Nexus uses a variety of strategies to achieve higher throughput, including sharding and proof-of-stake, but it also uses something familiar in basic computing but less discussed in the blockchain industry.

“Our smart contracts run on a register-based virtual machine, and that’s one way we’ve achieved extra efficiency,” Cantrell said. That is, register-based as opposed to stack-based. Most existing blockchains are stack-based, which is an older style of computing.

“The architecture is a lot more difficult to implement, but the efficiency is much higher if you implement it correctly,” Cantrell said.

Developers will find it much easier to work with since much of its functionality is accessible through an API, he said.

And regular people can manage access through a more traditional login that gives them control over a public-private key pair held for them online. “We believe blockchain is still a bit complicated for people to use,” Cantrell said.

However, rather than simply storing them in the cloud, the company encrypts the keys in what he calls “mathematical hyperspace.”

“There’s no central authority users are logging into,” he said.

Who Will Use It?

Nexus has primarily focused on technology and hasn’t done a lot of business development yet.

However, at a tech event in Arizona, Apple co-founder Steve Wozniak announced a partnership with Nexus on a new education initiative that will be built on the Nexus blockchain.

Cantrell said Nexus is ready to make a stronger case to potential business partners now because it understands what business customers need.

A blockchain is not a good platform for full-on computing, he said, but it is a good way to verify things – such as identity, authenticity, ownership and logical soundness.

These are the sorts of use cases that Nexus has been built around. “The internet can have a secure and immutable data layer,” Cantrell said.