Blog
The technical content top engineers rely on to level up.
13 min read
Certora Require, Assert, and Satisfy
In the previous chapter, we learned that a specification is a piece of code written in CVL that describes the expected behavior of a smart contract.
8 min read
Introduction to Method Properties
In the previous chapter, we learned about parametric rules, which allow us to formally verify properties that are expected to hold regardless of which…
3 min read
FFT Friendly Finite Fields
In order to carry out the FFT algorithm in a finite field (the Number Theoretic Transform), there needs to be k-th roots of unity such that k is a power…
15 min read
ERC-20 Token on Starknet
ERC-20 tokens on Starknet work the same way as on Ethereum. In fact, STRK (Starknet's fee token) is itself an ERC-20 token; there's no special "native"…
9 min read
Constructors in Cairo
A constructor is a one-time-call function executed during contract deployment to initialize state variables, perform contract setup tasks, make…
15 min read
Cairo Storage Variable Types
In Starknet, Contract Storage is the persistent memory where your smart contract's state lives.
13 min read
Components Part 2: OpenZeppelin ERC-20 Tutorial
In Component Part 1, we learned how to create and use a component within a single file.
20 min read
Events in Starknet
Events emit data from contract execution into the transaction receipt.
10 min read
Type Casting
Type casting in Cairo is the process of converting values from one data type to another.
17 min read
Introduction to the Cairo Language
Cairo is a programming language designed for provable, verifiable computation, particularly within the context of zero-knowledge systems like Starknet, a…
3 min read
Access Control in Cairo
Access control defines who can call specific functions or modify contract behavior.
11 min read
Structure of a Basic Contract
This article shows how to build a deployable Cairo contract for Starknet.