DeFi Can Now Choose to Run Trustless Zero-Knowledge Proofs

Published at: Feb. 26, 2020

In an interview with Cointelegraph at the Stanford Blockchain Conference on Feb. 19, Stanford University cryptography Ph.D. student Ben Fisch described Supersonic as a trustless zero-knowledge proof system, also referred to as a zk-SNARK. 

Fisch helped create a trustless zero-knowledge proof system designed specifically for decentralized finance. 

Trustless versus trusted zk-SNARKs

While zero-knowledge proof systems are needed for preserving privacy across blockchain networks, almost all require trusted-setups. Fisch said, “This means that users of the privacy tool must trust a third-party to configure the system properly.” 

For example, the privacy-focused digital currency Zcash (ZEC) leverages zk-SNARKs to allow users to exchange information without revealing their identities. This means that Zcash’s blockchain only shows what transactions took place, rather than who was involved and what amounts were exchanged.

Although this ensures privacy and transparency of Zcash’s blockchain network, Fisch noted that Zcash relies on a trusted-setup zk-SNARK called Groth-16. He explained that trusted setups such as this could compromise the public trust of a system:

“In particular, zero-knowledge proof systems involve some randomly generated numbers. Trusted setups mean that the third-party must be trusted to generate these numbers properly and keep them secret (i.e., discard the secrets and destroy any trace so that nobody finds them out in the future). If the secrets are leaked then the security of the zero-knowledge proof system is compromised.” 

Fisch further noted that trust can be spread over a collaborative committee in trusted-setup systems. This means that as long as one party properly discards their own secrets, the system can be considered secure. 

While this has been done on several occasions through collaborative “ceremonies,” Fisch said it’s impractical to redo this for every new application requiring a zk-SNARK. “This is understandable because before this last year there were no practical universal-setup or trustless setup zk-SNARKs.”

Stanford Ph.D. student Benedikt Bünz, who co-authored a paper on cryptography and cryptocurrencies with Fisch, told Cointelegraph that unlike trusted-setup systems, Supersonic requires no trust from third parties at all. Bünz explained:

“In a trusted-setup, the person (or people) doing this can prove that an invalid transaction is valid. In a cryptocurrency, this could be used to create money out of thin air. Previous proofs without trusted setup were either in the hundreds of kilobytes or did not have the scalability property.”

Trustless zk-SNARKs for DeFi

According to Fisch, a trustless zk-SNARK like Supersonic is a major breakthrough in cryptography within the last year, especially as decentralized finance applications gain traction. Fisch explained that while blockchain is promising for financial systems to become more open and transparent in order to prevent Ponzi schemes and fraudulent activity, privacy is often completely destroyed. 

Fisch noted that Findora, the company behind Supersonic, is primarily targeting financial use cases to bring decentralization and transparency to companies that require privacy, such as banks. He said:

“Many businesses can benefit from blockchain without decentralization immediately, but there is a benefit of having a trusted, decentralized financial network capable of connecting services and individuals using the same infrastructure.”

For example, Fisch noted that a peer-to-peer lending system based in China and the United States could run over Findora’s blockchain. He explained that commerce could run between the two systems with a consensus protocol that facilitates people using both networks while Supersonic ensures trust.

However, it’s important to point out that trusted-setup systems are not as efficient as trustless-setup systems. Fisch commented that Supersonic’s performance is about 10 times worse than trusted-setup systems, both in terms of proof size and computation time.

This is because one of the key components of Supersonic is a cryptographic tool called a "Group of Unknown Order.” Fisch added that a new GUO was announced recently, adding that “if we use this new GUO tool instead of the one we are currently using, then this will close the performance gap both in terms of size and time.”

Regardless of its current performance, Bünz mentioned that Supersonic has made a splash in upcoming DeFi projects like ETH 2.0, noting that the underlying tool used in Supersonic is the same as in verifiable delay functions:

“VDFs are a cryptographic tool that can be used to create perfect randomness, which is necessary for proof-of-stake networks. VDFs will be used in ETH 2.0. There is already a lot of investment in building good hardware and software support for VDFs.”

Recently, Ethereum co-founder Vitalik Buterin brought more attention to privacy solutions. When asked about Supersonic, Buterin told Cointelegraph that “Supersonic is a very good solution for the problem it's trying to solve.”

Tags
Related Posts
Bringing back the focus on blockchain, this time — bridging both public and private
When blockchain made its debut in 2008, the technology was completely overshadowed by its application — Bitcoin. From an infrastructure technology perspective, there was a team that believed beyond the context of cryptocurrency, there’s a promising future where businesses and individuals will thrive in a more efficient, interactive and inclusive digital economy. ParallelChain claims to have identified the attributes that limit the use of blockchain in the real world, addressed them one by one, and built a new base layer blockchain from scratch. “Since its birth in 2018, ParallelChain has been a private network for traditional finance (TradFi). The purpose …
Decentralization / Aug. 18, 2021
What lies ahead for crypto and blockchain in 2021? Experts answer
It would be fair to admit that after 2020 and all it has put us through, making any predictions for the upcoming year is most likely to be a game of blindfold. Meanwhile, I am certain that humanity has much to learn from its past transgressions, and will move forward by correcting our mistakes and weaknesses. That’s what we always do. Undoubtedly, the major driver of our development this year was the COVID-19 outbreak. The effects of the ongoing global pandemic on every aspect of our lives will form our future, and there are some tendencies we started last year …
Adoption / Jan. 4, 2021
Secret contracts may soon bring privacy features to public Blockchains
Open-source Blockchain protocol Secret Network announced its intention to add privacy-based secret contracts to its mainnet. The upgrade will take place on September 15 once the proposal is passed by the community. According to the foundation’s announcement, developers will have the opportunity to build and deploy so-called “secret” smart contracts that use encrypted inputs, outputs, and states. Secret contracts could enable many different blockchains to utilize private data in decentralized apps without compromising their user’s personal security. The foundation explained: “Secret contracts allow for programmable privacy, allowing for arbitrarily complex data privacy controls to be implemented inside applications. The flexible …
Decentralization / Aug. 31, 2020
DeFi’s critical missing piece: Credit scores
Over the last 12 months, the remarkable growth in decentralized finance has been driven by one thing: the ability of users to earn strong yields on their crypto assets by lending, staking and providing liquidity. Depending on your risk appetite, gains from DeFi investments can run tens or even hundreds of times higher than standard returns in the traditional markets. Even if those kinds of yields don’t last forever, DeFi offers significant promise to transform the financial markets in the long term. At the start of this year, former U.S. acting comptroller of the currency Brian Brooks predicted (I think, …
Adoption / April 10, 2021
The future of smart contract adoption for enterprises
Decentralized finance (DeFi) markets may have cooled down over the past year, but the technology powering these applications continues to advance. In particular, smart contract platforms that enable transactions to take place across DeFi applications are maturing to meet enterprise requirements. While it’s notable that enterprises have previously shown interest in DeFi use cases, smart contract limitations have hampered adoption. A report published by Grayscale Research in March puts this in perspective, noting that “Despite handling millions of transactions per day, smart contract platforms in their current state would be incapable of handling even 10% of the worlds’ internet traffic.” …
Decentralization / Dec. 3, 2022