Browse all Cairo Smart Contracts articles.

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 tokens to vote, then transfer the...
Last updated on Oct 22, 2025
7 min read
Solidity Gasleft Introduction The purpose of this article is to describe the behavior of the Solidity function and its uses. It is a built-in function that is used to check the remaining gas during a...
Last updated on Oct 29, 2025
Mastering Solidity: Master the Computer Science Fundamentals First !put in the reps text with a punch bag I hate computer science! I'll spare you the traditional arguments for why you should study...
Last updated on Oct 22, 2025
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. The "gas price" that you might...
Last updated on Sep 24, 2025
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. The biggest factors are 1) Ethereum price, 2) the size of...
Last updated on Oct 29, 2025
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. This article describes the ERC 3156 flash loan...
Last updated on Oct 22, 2025
10 min read
Solidity RSA signatures for airdrops and presales: Beating ECDSA and Merkle Trees in Gas Efficiency Updated: Aug 4, 2023 By Suthan Somadeva and Michael Burke ECDSA Vs RSA Introduction Creating a...
Last updated on Oct 29, 2025
Solana Smart Contract Programming Language !Rust code from the Metaplex library Solana programming language The primary Solana programming language is Rust, but C, C++, and even Python are supported....
Last updated on Oct 29, 2025
10 min read
Zero knowledge programming languages !Zero knowledge proof moon math Zero knowledge proof moon math Zero knowledge proofs demonstrate you executed a computation correctly without revealing the inputs...
Last updated on Aug 1, 2024
7 min read
Solidity vs Rust A common misconception is that learning blockchain is about learning a new programming language. It isn't. Learning blockchain is far more akin to learning a framework than a...
Last updated on Oct 29, 2025
Learn Solidity: Easy to Learn, Hard to Master? Is Solidity hard to learn? Learning solidity as a language is arguably one of the easier languages to learn. However, learning the Ethereum environment...
Last updated on Oct 29, 2025
The blockchain shortage of developers is not real. !Typewriter close up Photo by markuswinkler (https://unsplash.com/@markuswinkler) It’s hard to read news about developers and not get the impression...
Last updated on Oct 29, 2025