How to decentralize a prover, according to an engineer who did it for fun – Blockworks
Andrew Milson, a senior software engineer at Immutable, recently submitted his own proof to StarkWares StarkNet verifier on Ethereum.
Generally speaking, a prover is a computational entity responsible for attesting that information is accurate without revealing its underlying data. Provers must create proofs that can be easily verified by a verifier.
The issue today is that many zero-knowledge (ZK) blockchain projects depend on one single, centralizedprover. In the event that node fails to submit proofs, transaction finality will be impacted.
But the process of decentralizing provers is no easy feat.
Milsons interest in STARKs is what started the entire ordeal, he told Blockworks.
When I found out they could be used to prove very large computations instantly in a small proof, I just lost my mind. It didnt even seem possible, and the mystery resulted in me becoming obsessed with figuring out how they worked, Milson said.
During this time, he built miniSTARK, a tool that enables you to prove the integrity of arbitrary computations using STARKs and also spent time learning about Cairo a STARK programming language.
Its simplicity is beautiful, and the fact that StarkNet is built on top of it strikes me as very strong, Milson said.
STARK verifiers are very similar in structure to their provers, Milson said.
Being able to see StarkWares verifier contracts on Ethereum essentially provided me with a blueprint that I was able to follow line by line, he said.
Milson began copying Solidity contracts into a foundry project and wrote tests for the verifyProof process, he said.
It was an iterative process that involved the following:
Each iteration, Id get slightly more lines of code passing until the whole test worked, Milson said. I used the passing proof and submitted it to Ethereum using Etherscanner. It was a real thrill once everything was submitted on-chain.
Milson believes that being able to submit his own prover is a step towards decentralization for StarkNet.
Teams in the community can start integrating the prover into their work which will bring a lot of scale and interesting use cases to the ecosystem, for example, onchain Gaming and ZKML, he said.
This sentiment is shared by Liron Hayman, the head of business development at Starkware.
This is a very important milestone towards decentralization of the Starknet tech stack. Andrew was able to develop his prover without viewing the code of StarkWares prover, Hayman told Blockworks. A mature decentralized blockchain like Starknet requires a vibrant community developing multiple implementations of each component. Andrews work is taking STARK technology to serious decentralization and by extension, towards fulfilling its potential.
Milson believes his work can also be viewed as an audit of StarkNets existing verifier and a testament to the security of the network.
I inspected every line of code and I couldnt find a bug which was honestly a bit disappointing considering how juicy StarkNets bug bounty program is, but really impressive on StarkWares behalf, Milson said.
Get the days top crypto news and insights delivered to your email every evening.Subscribe to Blockworks free newsletternow.
Want alpha sent directly to your inbox? Get degen trade ideas, governance updates, token performance, cant-miss tweets and more fromBlockworks Researchs Daily Debrief.
Cant wait? Get our news the fastest way possible.Join us on Telegramand follow us onGoogle News.
Original post:
How to decentralize a prover, according to an engineer who did it for fun - Blockworks
- AI Compute Bottleneck: Case For Decentralization If Ever There Was One - Forbes - May 18th, 2024 [May 18th, 2024]
- Security Situation and Decentralization: Presidential Office Hosted a Meeting with Alexander Soros Official website ... - - - May 18th, 2024 [May 18th, 2024]
- DeFi at a Crossroads: New EU Regulations Poses Risk to the Future of Decentralization - Coinfomania - May 18th, 2024 [May 18th, 2024]
- zkSync Unveils Final Protocol Upgrade in Anticipation of Token Launch - Coinfomania - May 18th, 2024 [May 18th, 2024]
- What is MakerDAO's Upcoming PureDai and NewStable? - BSC NEWS - May 18th, 2024 [May 18th, 2024]
- 0xResearch Podcast: Ethereum's Staking Debate: Decentralization vs. Security vs. Yield | Hasu & Vasiliy - Blockworks - May 18th, 2024 [May 18th, 2024]
- Reimagining the European Union's Agricultural Policy: A Call for Decentralization - EU Reporter - May 18th, 2024 [May 18th, 2024]
- The Rise of Decentralized Exchanges (DEXs) in DeFi - Robotics and Automation News - May 18th, 2024 [May 18th, 2024]
- Lido DAO gives the first step towards decentralization, price is up - FXStreet - May 5th, 2024 [May 5th, 2024]
- Why Governments Around The World Fear DeFi? - Crypto Times - May 5th, 2024 [May 5th, 2024]
- Doomed To Fail? DAOs Steps To Overcome Pitfalls Of Decentralization - Forbes - March 24th, 2024 [March 24th, 2024]
- PwD Community in Bong Calls for Decentralization of National Commission on Disabilities - Global News Network ... - Global News Network - March 24th, 2024 [March 24th, 2024]
- South Africa: MSF Calls for Decentralisation of Life-Saving DR-TB Services in Rural Setting - AllAfrica - Top Africa News - March 24th, 2024 [March 24th, 2024]
- Understanding Solana Validators And Top 10 Important Things To Know About Them - Blockchain Magazine - March 24th, 2024 [March 24th, 2024]
- Sonorus Crafting the Future of Music on-Chain With AI and Decentralization Standard PR Bitcoin News - Bitcoin.com News - March 15th, 2024 [March 15th, 2024]
- Announcing UniDexAI: Pioneering the Future of Decentralized Trading - AiThority - March 15th, 2024 [March 15th, 2024]
- SendingNetwork Launches Testnet for Bandwidth Mining, Redefining Decentralized Communication Infrastructure - CryptoSlate - March 15th, 2024 [March 15th, 2024]
- Web3 Wallet Wars: Security, Simplicity, And The Race To Dominate Decentralization - The Crypto Basic - January 22nd, 2024 [January 22nd, 2024]
- PO discusses decentralization reform with members of EU Delegation to Ukraine - Ukrinform - January 22nd, 2024 [January 22nd, 2024]
- Crypto Clash Ahead As Bitcoin 'Maxis' Face Institutional Giants Following Bitcoin ETF Approval - The Mountain Press - January 22nd, 2024 [January 22nd, 2024]
- Taking Back the Web with Decentralization: 2023 in Review - EFF - December 31st, 2023 [December 31st, 2023]
- Travel Decentralization: NFTs, Blockchain, and the Future of our Industry - Hospitality Net - December 31st, 2023 [December 31st, 2023]
- Vitalik Buterin Blames Rising Transaction Fees for Web3's Drift from Decentralization - Cryptonews - December 31st, 2023 [December 31st, 2023]
- Decentralization and Digital Power: HighKey CMO Jordan Lintz's Take on the New Social Media Era - Grit Daily - December 31st, 2023 [December 31st, 2023]
- Bitcoin Mining Pool Ocean Successfully Mines Third Block in Ongoing Decentralization Quest - Cryptonews - December 31st, 2023 [December 31st, 2023]
- Web3 needs to regress before we can progress in 2024 | Opinion - crypto.news - December 31st, 2023 [December 31st, 2023]
- The Sam Altmanbacked crypto project Worldcoin announces plans for decentralization as it expands its eye-scanning ambitions - Fortune - December 12th, 2023 [December 12th, 2023]
- The Crypto Paradox: Decentralization and Central Bank Digital Currencies - The Herald-Times - December 12th, 2023 [December 12th, 2023]
- Kelp Is Crafting a Global Currency by Fusing Central Banking Theorem and Blockchain Decentralization - GlobeNewswire - December 12th, 2023 [December 12th, 2023]
- Bybit Celebrates Five Years with a Leap into Web3 Decentralization - Finance Magnates - December 12th, 2023 [December 12th, 2023]
- Solana (SOL) and Cardano (ADA) to be overtaken by Retik Finance (RETIK) in 2024 - Finbold - Finance in Bold - December 12th, 2023 [December 12th, 2023]
- Censorship Climbs on Ethereum as Block Builders Bar US-Sanctioned Transactions - Cryptonews - December 12th, 2023 [December 12th, 2023]
- Microsoft, Tencent and other tech giants join Decentralized Infura ... - Cointelegraph - November 17th, 2023 [November 17th, 2023]
- Web3 Firm Infura Recruits Microsoft, Tencent, and Others To Build ... - Cryptonews - November 17th, 2023 [November 17th, 2023]
- Ethereum L2 Starknet aims to decentralize core components of its ... - Cointelegraph - November 17th, 2023 [November 17th, 2023]
- Business models, fraud and decentralized digital IDs: Future Identity ... - Biometric Update - November 17th, 2023 [November 17th, 2023]
- 3 theses that will drive Ethereum and Bitcoin in the next bull market - Cointelegraph - November 17th, 2023 [November 17th, 2023]
- New York MoMA now has tokenized artworks in its permanent ... - Cointelegraph - November 17th, 2023 [November 17th, 2023]
- Crypto will overcome the stain of FTX and Sam Bankman-Fried - Morningstar - November 17th, 2023 [November 17th, 2023]
- Opinion: CoreLogic's Selma Hepp on the effects of 'pandemic ... - HousingWire - November 17th, 2023 [November 17th, 2023]
- Sergey Nazarov: Only Bitcoin, Ethereum, Chainlink Truly ... - CryptoGlobe - October 1st, 2023 [October 1st, 2023]
- Ethereum decentralization takes hit as Blocknative discontinues its ... - Blockworks - October 1st, 2023 [October 1st, 2023]
- Near Protocol vs Tradecurve Markets: Pioneering the Future of ... - TechCabal - October 1st, 2023 [October 1st, 2023]
- How Crypto is Bridging the Gap Left by Traditional Banking? Crypto ... - Analytics Insight - October 1st, 2023 [October 1st, 2023]
- Blockchain and the scalability challenge: solving the blockchain ... - Finextra - October 1st, 2023 [October 1st, 2023]
- Web3's resilience amidst the bear market: A promising horizon awaits - Cointelegraph - October 1st, 2023 [October 1st, 2023]
- The Complexities Of Crypto: How To Help Break Down The Blockchain - UKTN (UK Technology News - October 1st, 2023 [October 1st, 2023]
- From CeFi to DeFi: How investors can redefine their asset ... - Cointelegraph - October 1st, 2023 [October 1st, 2023]
- The Social Economics of the Old Stone Jug - The Colgate Maroon-News - October 1st, 2023 [October 1st, 2023]
- Wait. Did Education Reform Just Become Inescapable? - The 74 - October 1st, 2023 [October 1st, 2023]
- XRP Decentralization Debates and Its Inflationary Token Distribution - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Lido Finance ETH Staking Nears 33%; Alarming for Decentralization - The Coin Republic - September 4th, 2023 [September 4th, 2023]
- Preserving Decentralization: The Center Consortium's Governance ... - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Experience Better Decentralization with Aerie's Comprehensive ... - Digital Journal - September 4th, 2023 [September 4th, 2023]
- Alibaba's Transformation: A New Era Of Decentralization And ... - Seeking Alpha - September 4th, 2023 [September 4th, 2023]
- Bitcoin ETFs will enhance Crypto Market Decentralization - Tekedia - September 4th, 2023 [September 4th, 2023]
- DeFi 1.0 and 2.0: Understanding the Phases of Decentralized Finance - The Coin Republic - September 4th, 2023 [September 4th, 2023]
- Ethereum Stakers Agree to 22% Self-Limit Seeking Decentralization - The Coin Republic - September 4th, 2023 [September 4th, 2023]
- Decentralization and Bitcoin Mining Pools - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Analyzing Concentration of XRP Among the Founding Team and ... - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Criticisms and Controversies Surrounding USD Coin Adoption - BTC Peers - September 4th, 2023 [September 4th, 2023]
- What Advantage Does Ethereum Have Over Hedera? - Programming Insider - September 4th, 2023 [September 4th, 2023]
- Pros and Cons of XRP Design Compared to Bitcoin and Ethereum - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Web3: Five Key Characteristics of the Decentralized Internet - The Coin Republic - September 4th, 2023 [September 4th, 2023]
- Shiba Inu and Bone Crypto Prediction vs Signuptoken.com: Top ... - Tekedia - September 4th, 2023 [September 4th, 2023]
- Comparing Tether on Ethereum vs Tron Blockchains - BTC Peers - September 4th, 2023 [September 4th, 2023]
- Governance system for local governments - Part 1 - Profit by Pakistan Today - September 4th, 2023 [September 4th, 2023]
- Bitcoin Spark's ICO promises rewarding returns for Early Investors - Captain Altcoin - September 4th, 2023 [September 4th, 2023]
- Ethereum MEV incentives limit decentralization new report shows - CryptoSlate - August 13th, 2023 [August 13th, 2023]
- PayPal USD: Boon for Ethereum but not decentralization, says community - Cointelegraph - August 13th, 2023 [August 13th, 2023]
- Safeguarded Token: The Third Way between Decentralization vs. State Protection Part 3 - Modern Diplomacy - August 13th, 2023 [August 13th, 2023]
- Stablecoins need to focus on liquidity, not decentralization ... - Blockworks - August 13th, 2023 [August 13th, 2023]
- Lido DAO: Driving the Decentralization of Ethereum's Proof-of-Stake ... - Auralcrave - August 13th, 2023 [August 13th, 2023]
- Decentralization In Action: Unveiling The Strategies Of Scorpion ... - Tekedia - August 13th, 2023 [August 13th, 2023]
- Pulling Back The Layers of L2 Scaling in Blockchain Networks - Techopedia - August 13th, 2023 [August 13th, 2023]
- How Explainable AI Can Clarify Blockchain Transaction Auditing - Techopedia - August 13th, 2023 [August 13th, 2023]
- How the Blockchain Will Influence the Smart Cities of Tomorrow - Techopedia - August 13th, 2023 [August 13th, 2023]
- Don't Join ThreadsMake Instagram's 'Twitter Killer' Join You | WIRED - WIRED - July 9th, 2023 [July 9th, 2023]
- It's way too soon for a marriage of AI and Web3 - Blockworks - July 9th, 2023 [July 9th, 2023]
- Uphill task to demilitarize and decentralize Thailand's deep South ... - Thai PBS World - July 9th, 2023 [July 9th, 2023]