Cave of Secrets ( Part III )Welcome to the technical guide 1) Setting up the Circuit in Circom ( The Wizards setting up the cave magic) // cave_circuit.circom pragma circom 2.1.4; // This circuit represents our magical Cave of Secrets template CaveOfSecrets() { // Private ...Feb 10, 2025 · 4 min readmansoor-eth.hashnode.dev
Cave of Secrets ( Part II )Pre Requirement : Part I Let's dive deeper into each technical component while keeping our cave analogy: The Setup Spell (Trusted Setup) Remember how the ancient wizards created the Cave of Secrets? In ZK-SNARKs, we have a similar "magical ceremon...Jan 28, 2025 · 2 min readmansoor-eth.hashnode.dev
The Cave of Secrets ( Debunking ZK-Proofs) Part-IIntro Once upon a time , in a mystical land of Zyngard , there lived a clever girl named Alice , who discovered a magical cave . This wasn’t just any cave . It was The Cave of Secrets , where ancient mathematical wizards had hidden their most powerfu...Jan 20, 2025 · 3 min readmansoor-eth.hashnode.dev
Learning Dark Arts of Yul Part IIReading a Slot in Yul Lets start with a Coding Example contract offsetAndShifting{ uint128 public a = 22; uint96 public b =15; uint16 public c = 8; uint8 public d = 1; function readValueBySlot(uint256 slot) external view return(b...Dec 29, 2024 · 2 min readmansoor-eth.hashnode.dev
Learning the Dark Arts of Yul ( Part I )Introduction Yul is an intermediate language that can be used with Solidity or as a standalone language . It is particularly useful for writing optimized Smart Contract Lets look at some Coding Examples { // Declare variables without specifying t...Dec 21, 2024 · 1 min readmansoor-eth.hashnode.dev