0xsanjays Profile Banner
Sanjay Profile
Sanjay

@0xsanjays

Followers
396
Following
17K
Media
166
Statuses
3K

Full-Stack Web3 Developer | Blockchain x Open Source | Building in Public | Carpediem!

OnChain
Joined November 2018
Don't wanna be here? Send us removal request.
@0xsanjays
Sanjay
5 months
Just received my first Web3 swag, and it’s from @Alchemy !!!🤩. Always wished for this, and it truly means a lot! Huge thanks to @angelinarusse for the swag, and the positivity you spread every day!!💙. Feeling incredibly grateful and hoping to work with the amazing team soon!!✨
Tweet media one
Tweet media two
8
2
42
@0xsanjays
Sanjay
2 days
The ZK revolution isn't just about scaling transactions; it's about scaling trust. By fusing Ethereum's strong identity with computational privacy, we can finally scale with privacy, building an ecosystem on trust. It’s not just scaling. It’s scaling with privacy. 🔒.
0
0
0
@0xsanjays
Sanjay
2 days
A perfect example is @aztecnetwork 🟪. Their design has you create a proof on your device (client-side), which is then bundled by a powerful network of Provers. The goal is to decentralize this network for a truly censorship-resistant L2.
1
0
0
@0xsanjays
Sanjay
2 days
This raises a crucial question: Who actually generates the ZK proof? 🤔. If one entity does all the heavy computational lifting, they could potentially censor users. This is the core decentralization challenge that all serious ZK systems must solve.
1
0
0
@0xsanjays
Sanjay
2 days
Benefit 2: Saving Gas ⛽. Verifying a signature involves complex math. By doing this in a ZK circuit, all the heavy lifting happens on your own machine (offchain). The smart contract onchain only needs to perform one, simple, and much cheaper task: verifying your tiny ZK proof.
1
0
0
@0xsanjays
Sanjay
2 days
Benefit 1: Confidentiality & Privacy 🔐. This is the biggest win. You can prove you have the authority to do something without revealing your specific address. Your onchain actions are decoupled from your public identity.
1
0
0
@0xsanjays
Sanjay
2 days
So, here is the key difference:. 🔷 Solidity ecrecover: Runs ON-CHAIN. Verification is PUBLIC. The contract sees your identity. 🔷 Noir ecrecover: Runs OFF-CHAIN. Verification is PRIVATE. The contract only sees a "thumbs up" proof.
1
0
0
@0xsanjays
Sanjay
2 days
Inside the ZK circuit, the Noir code defines a set of constraints. It proves a statement is true without revealing the inputs. The assert line is the most important part. It ensures the final output the "ZK proof" is only valid if the check succeeds.
Tweet media one
1
0
0
@0xsanjays
Sanjay
2 days
The ZK solution? Go private. Instead of public verification, you prove your signature's validity inside a ZK circuit, a "private room." . @NoirLang is the language for the instructions, and libraries like ecrecover-noir provide the blueprints.
1
0
0
@0xsanjays
Sanjay
2 days
This total transparency is a problem for privacy❌. You don't always want your signature on every document to be visible to the world. Imagine if every contract you ever signed was posted on a public bulletin board with your name attached. That's how the public blockchain works.
1
0
0
@0xsanjays
Sanjay
2 days
Solidity's ecrecover is a precompile, meaning it's a fast and standard on-chain function. Any contract can use it. But the key is that the verification happens out in the open. The signed document and the identity of the signer are public knowledge. 🗣️.
1
0
0
@0xsanjays
Sanjay
2 days
Now, what is ecrecover?. Think of it as a handwriting expert. It looks at a signed document and compares it to the public ID card. It can definitively say, "Yes, the person with this public ID is the one who signed this.". It recovers the signer's identity. 🔍.
1
0
0
@0xsanjays
Sanjay
2 days
When you "sign" a message in crypto, you're using your unique handwriting (private key) to sign a specific digital document. This creates a unique Signature. It's mathematical proof that you, and only you, approved that specific document. 📝.
1
0
0
@0xsanjays
Sanjay
2 days
Let's start with a simple analogy for an ECDSA signature. 🔷 Your Private Key is your unique, personal handwriting. Only you can produce it. 🔷 Your Public Key is like your signature on a public ID card. Anyone can see it to verify against.
1
0
0
@0xsanjays
Sanjay
2 days
How does a smart contract know it's really you?. Through your ECDSA signature. The tool it uses is called ecrecover library. But this process is totally public. What if we could prove who we are privately?🤫. Let's explore how we do this with Zero-Knowledge proofs. 🧵.
1
0
1
@0xsanjays
Sanjay
4 days
Day 80 of #100DaysOfCode . Started Section 3: ZK Pangram from @CyfrinUpdraft of Noir and ZK circuits course. Refreshing the core ZK concepts along the way!!
Tweet media one
1
0
9
@0xsanjays
Sanjay
5 days
ZK all the things.
@ethereum
Ethereum
5 days
ZK all the things.
0
0
1
@0xsanjays
Sanjay
6 days
Day 79 of #100DaysOfCode . Revisited ECDSA, ecrecover, signature malleability, and how ZK proves offchain and verifies onchain. A recap to let it all sink in!!.
0
0
3
@0xsanjays
Sanjay
7 days
Day 78 of #100DaysOfCode . Learned about ECDSA, ecrecover, and signature malleability from @CyfrinUpdraft. Built ZK ECDSA circuit that proves a signature without revealing who signed it!. Huge thanks to @CiaraNightingal , ZK is getting more interesting!.
@0xsanjays
Sanjay
7 days
Built a ZK ECDSA circuit using @NoirLang - ecrecover library👽. Proves someone signed a message without revealing who, what, or how. That's ZK magic 🔐. Verified the proof offchain, and generated the Solidity verifier contract for onchain verification. Thanks to @CiaraNightingal
Tweet media one
Tweet media two
1
0
15
@0xsanjays
Sanjay
7 days
Built a ZK ECDSA circuit using @NoirLang - ecrecover library👽. Proves someone signed a message without revealing who, what, or how. That's ZK magic 🔐. Verified the proof offchain, and generated the Solidity verifier contract for onchain verification. Thanks to @CiaraNightingal
Tweet media one
Tweet media two
2
1
56
@0xsanjays
Sanjay
8 days
Privacy isn't a feature. It's a basic human need!!. Not everything onchain needs to be visible to everyone, all the time. @aztecnetwork is building a world where privacy is the default - not the exception. And that matters. A lot!!.
0
0
5