Browse all Cairo Smart Contracts articles.
7 min read
Native Multicall Native multicall is Starknet's ability to bundle multiple contract calls into a single atomic transaction. Some decentralized application workflows require signing multiple...
17 min read
Account Abstraction On Ethereum, accounts are Externally Owned Accounts (EOAs) by default. Each account is controlled by a private key, and if it's compromised, there's no way to limit the damage or...
10 min read
Pragma Oracle Pragma is an oracle protocol built for Starknet that brings off-chain price data on-chain. It provides price feeds and computational feeds (such as yield curves and volatility data). In...
9 min read
Upgrading Contracts on Starknet On Ethereum, the proxy pattern is the most common approach for contract upgradeability. In this pattern, a proxy contract holds the contract's storage and delegates...
17 min read
Components 3 In Component Part 1, we learned how to create and use a component within a contract, and demonstrated that components behave like abstract contracts in Solidity. In Component Part 2, we...
5 min read
Library call on Starknet A library call executes the logic of a declared contract class in the context and storage of the contract that invokes it. This is similar to Solidity’s but uses class hashes...
14 min read
Factory Contract in Cairo A factory contract is a contract that deploys one or more instances of a contract. In the "_Understanding Starknet's Contract Deployment Model_" chapter, we learned that...
13 min read
Deploying Contracts on Starknet In the previous article, we covered Starknet's declare-deploy model, including the deployment paths for regular and account contracts. This article puts those concepts...
16 min read
Understanding Starknet’s Contract Deployment Model On Ethereum, you deploy a contract in a single transaction. Starknet takes a different approach: deployment is split into two separate transactions,...
9 min read
Cross-contract call on Starknet A cross-contract call is how one contract calls another contract's public function. A common example is a liquidity pool calling an ERC-20 token contract to transfer...
20 min read
Signature Verification Signature verification is the process of using a public key to mathematically prove that a message or transaction was signed using the corresponding private key. Signature...
13 min read
Hash Functions on Starknet Solidity relies on keccak-256 as its primary hash function to derive deterministic identifiers from arbitrary data such as computing function selectors or computing storage...