Skip to main content
Try out the RareSkills ZK AI Tutor!

Cairo Smart Contracts

Browse all Cairo Smart Contracts articles.

8 min read

Layer 2 Calldata Gas Optimization

When developing applications on an L2, the majority of gas costs come from calldata. Therefore, gas optimization for L2 emphasizes minimizing that cost.

Last updated onOct 22, 2025
Read Article

6 min read

ERC20 Snapshot

ERC20 Snapshot solves the problem of double voting. If votes are weighed by the number of tokens someone holds, then a malicious actor can use their…

Last updated onOct 22, 2025
Read Article

7 min read

Solidity Gasleft

The purpose of this article is to describe the behavior of the Solidity gasleft() function and its uses.

Last updated onOct 29, 2025
Read Article

21 min read

Mastering Solidity: Master the Computer Science Fundamentals First

I'll spare you the traditional arguments for why you should study and practice what is considered "the fundamentals."

Last updated onOct 22, 2025
Read Article

4 min read

Convert gas to USD (Ethereum)

Understanding gas cost can be tricky because there are three components at play: the gas price, the price of ether, and the units of gas.

Last updated onSep 24, 2025
Read Article

4 min read

Smart contract creation cost

Smart contract creation cost can be anywhere from $10 to $2,000 assuming ETH costs between $1,500 to $2,000.

Last updated onOct 29, 2025
Read Article

13 min read

Flash Loans and how to hack them: a walk through of ERC 3156

Flash loans are loans between smart contracts that must be repaid in the same transaction.

Last updated onOct 22, 2025
Read Article

10 min read

Solidity RSA signatures for airdrops and presales: Beating ECDSA and Merkle Trees in Gas Efficiency

Creating a contract that gives certain addresses permissions goes by several names: airdrops, presale, whitelist, allowlist, and so forth.

Last updated onOct 29, 2025
Read Article

7 min read

Solana Smart Contract Programming Language

The primary Solana programming language is Rust, but C, C++, and even Python are supported. Solana coding language uses Rust, C, and C++ in a similar way.

Last updated onOct 29, 2025
Read Article

10 min read

Zero knowledge programming languages

Zero knowledge proofs demonstrate you executed a computation correctly without revealing the inputs to the computation.

Last updated onAug 1, 2024
Read Article

7 min read

Solidity vs Rust

A common misconception is that learning blockchain is about learning a new programming language. It isn't.

Last updated onOct 29, 2025
Read Article

5 min read

Learn Solidity: Easy to Learn, Hard to Master?

Learning solidity as a language is arguably one of the easier languages to learn. However, learning the Ethereum environment is hard.

Last updated onOct 29, 2025
Read Article