Skip to content

Instantly share code, notes, and snippets.

View kariy's full-sized avatar
🚙
my back hurts

Ammar Arif kariy

🚙
my back hurts
View GitHub Profile
[workspace]

resolver = "2"

exclude = [ "examples/client" ]
members = [
  "crates/dojo-client",
  "crates/dojo-lang",
  "crates/dojo-language-server",

ZERO-KNOWLEDGE PROOF

🪅 General

[Recommended] Why and How zk-SNARK Works: Definitive Explanation

This paper aims to explain zk-SNARK construction in a simple and accessible way, using examples and answering common questions. Its contribution is a gradual increase in complexity to help readers understand without prior knowledge of cryptography or advanced math. The paper not only explains how zk-SNARK works, but also why it works and how it was developed.

  1. Introduction to ZK
  2. [MIT IAP 2023] Modern Zero Knowledge Cryptography
  3. Curated resources for ZK stuff by Ingonyama
@kariy
kariy / 🦀-resources.md
Last active August 7, 2023 05:50
Some cool resources I found to help me learn about the offical programming language of the furries and fembois (pick your side!)
@kariy
kariy / background-assigment.md
Last active May 1, 2022 20:51
ZK University

A. Conceptual Knowledge

1. What is a smart contract? How are they deployed? You should be able to describe how a smart contract is deployed and the necessary steps.

Smart contract is essentially a piece of code or a program that resides in the blockchain. These contracts can be called directly by an external user or through other smart contracts. Smart contracts are primarily written in Solidity and must be compiled to its bytecode equivalent that can be understood by the EVM. To deploy the contract, a transaction must be made to the blockchain with the transaction’s receiver being the zero address. The bytecode is then appended to the transaction’s data field. The bytecode used in the process of a new contract deployment is referred to as the creation bytecode. Transaction with zero address as its receiver will be understood by the EVM as a contract creation transaction.

2. What is gas? Why is gas optimization such a big focus when building smart contracts?

Gas is a mechanism use