Garaga (@GaragaStarknet) header
Garaga (@GaragaStarknet) profile picture

SNARKS and cryptographic tooling for @CairoLang and @Starknet

Cairo
Joined August 2024
Photo by Garaga (@GaragaStarknet)Photo by Garaga (@GaragaStarknet)Photo by Garaga (@GaragaStarknet)Photo by Garaga (@GaragaStarknet)Photo by Garaga (@GaragaStarknet)
Garaga v1.0.0 is finally released. 🚀 After @CryptoExperts 's 96 pages audit, Garaga is now production-ready for ZK Proof verification on @Starknet 👊
2
6
1
15
968
Added support for RSA-2048 signature verification. It uses the 384 bit modulo builtin to its fullest by using a residue number system and the Chinese remainder theorem across 11 comprime channels. garaga.gitbook.io/garaga/usi… Gas costs are 2x more expensive than EC-based sigs.
2
2
10
611
eth nerds will make "privacy by default" roadmaps but they won't implement a Poseidon precompile (Poseidon is the most battle-tested of the efficient hash algorithms to verify in a ZK proof) meanwhile solana, starknet, and stellar all have it...
29
18
4
243
61,630
Enough future promises, here is the list of privacy primitives you can use on @Starknet RIGHT NOW👇 First and foremost it is @GaragaStarknet (brought to you by 👑 @feltroidPrime) a 3-in-1 supertool allowing to use your favourite zkdsl with ease: - Battle-hardened Circom for true OGs and fans of tailor-made solutions - Magnificent @NoirLang for ambitious privacy architects and rust enjooyers Start building among legends from @0xbowio @fatsolutionsxyz @_mistcash and others -> garaga.gitbook.io -- Secondly tongo.cash, an SDK for confidential transfers built by unstoppable @fatsolutionsxyz - No trusted setup, lean zk primitives, super fast and cheap - Optional compliance tooling Start with docs.tongo.cash -- Last but not least: @_mistcash a private payments solution created by 👑 @shrameetweets - Full privacy, on/off-ramp options - Built for product oriented minds Check out github.com/mistcash/sdk or ping @shrameetweets if you want to learn more -- Q&A > Are these solutions production ready Garaga and Tongo are fully audited and can be used in prod Mist is actively developing, but feature complete and recommended for exploration > Isn't such fragmentation bad for the ecosystem A single anonymity set is indeed superior than multiple privacy solutions, however @Starknet is a permissionless chain and anyone is free to do whatever they like on the contract level. It's beautiful to see many teams and individuals working on privacy and trying to find their own niche. We believe in spectrum and that there's a perfect tool for any particular problem whether it's private payments, shielded trading, anonymous credentials, or something else > Will there be a canonical privacy solution on Starknet Starknet will have enshrined primitives at the protocol level but no single solution everyone is forced to use > What are the differences in writing Noir apps on Aztec and Starknet @aztecnetwork (congrats with the ignition!) provides rich dual private/public state model that hides certain complexity from developers (e.g. nullifiers, state encryption) and exposes higher-level concepts (like authwits); it also equips wallets with a fully-fledged private execution environment which is necessary for generic witness generation. Starknet does not have that so you'd need to implement state management (in the circuit and smart contract) and witness generation (on the client) yourself. It certainly has both advantages and disadvantages, in short - simple things can be done a simple way, but complex apps require careful engineering; on the other side a tailor-made solution would typically be more performant/cost effective.
6
14
4
56
6,977
Turns out we also break records in audit reports lengths 🤭
7
452
Which feature should we prioritize to add in Garaga ?
26%Timelock Encryption
13%SP1 Verifier
26%Mental (zk) Poker
35%Anonymous transactions
31 votes • Final results
4
8
1
11
1,170
Level of difficulty to integrate : Timelock Encryption : 2/5 SP1 Verifier : 1/5 Mental Poker : 3/5 Anonymous Txs : 5/5
1
2
297
Timelock : Encrypt a value on-chain, reveal at a defined date @drand_loe SP1 : verify @SuccinctLabs 's groth16 wrapped proofs (we already support @RiscZero) Mental Poker : Implement github.com/geometryxyz/menta… in Cairo Anonymous Txs : Implement Mutator Sets from @seagodcrypto
1
4
247
New episode of Hit Me With Your Best STARK 🎯 How to build a Privacy Preserving dApp? Privacy + scalability is now within reach, and we break it down in simple terms: @NoirLang, @CairoLang and @GaragaStarknet.
14
26
2
90
6,832
A pre-post mortem story. Please update your garaga versions.
We flew too close to the sun and got burned. A high-risk flaw was found in Garaga’s MSM verifier. It’s been fixed. Garaga is now stronger. This is the story of ambition, failure, and redemption, and why you must update to v0.18.0 now. TLDR + deep dive 🧵👇
2
16
734
We flew too close to the sun and got burned. A high-risk flaw was found in Garaga’s MSM verifier. It’s been fixed. Garaga is now stronger. This is the story of ambition, failure, and redemption, and why you must update to v0.18.0 now. TLDR + deep dive 🧵👇
4
10
2
42
7,835
It's not just about fixing a bug. It’s a case study in the risks of cutting-edge cryptography. In how hard it is to formalize new tricks. And in how much the ZK community gains when we push and then share everything we learn. We hope others build on this.
1
4
166
🙏 Huge thanks to everyone who made this possible: - @StarkWareLtd and @StarknetFndn for proactively funding a deep, independent audit - @CryptoExperts for the world-class cryptanalysis by @mrivain and @tfeneuil - @YoussefElHousn3, @liameagen for foundational ideas - many more!!
6
158