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

Cairo Smart Contracts

Browse all Cairo Smart Contracts articles.

10 min read

Viem React Js Example: Transfer, Mint, and View Blockchain State

In this tutorial, we’ll build a fully functional Dapp with the Viem typescript library + React (Next.js).

Last updated onSep 26, 2024
Read Article

6 min read

Three ways to detect if an address is a smart contract

This article describes three methods in Solidity for determining if an address is a smart contract. We discuss each method in this tutorial.

Last updated onOct 29, 2025
Read Article

9 min read

Uniswap V2 Architecture: An Introduction to Automated Market Makers

Uniswap is a DeFi app that enables traders to swap one token for another in a trustless manner.

Last updated onSep 26, 2024
Read Article

15 min read

Getting a smart contract audit: what you need to know

A smart contract audit is a review by blockchain security experts to ensure that users will not lose funds due to a malfunction or security vulnerability.

Last updated onAug 7, 2024
Read Article

2 min read

OpenZeppelin Ownable: Use Ownable2Step Instead

The onlyOwner modifier is probably one of the most common patterns in Solidity.

Last updated onOct 22, 2025
Read Article

3 min read

Solidity Staticcall EIP 214

Staticcall is like a regular Ethereum call except that it reverts if a state change happens. It cannot be used to transfer Ether.

Last updated onOct 29, 2025
Read Article

5 min read

Understanding smart contract metadata

When Solidity generates the bytecode for the smart contract to be deployed, it appends metadata about the compilation at the end of the bytecode.

Last updated onOct 29, 2025
Read Article

4 min read

Solana programs are upgradeable and do not have constructors

In this tutorial we will peek behind the scenes of anchor to see how a Solana program gets deployed.

Last updated onAug 15, 2024
Read Article

6 min read

Solidity Mutation Testing

Mutation testing is a method to check the quality of the test suite by intentionally introducing bugs into the code and ensuring the tests catch the bug.

Last updated onOct 29, 2025
Read Article

6 min read

Ethereum precompiled contracts

Ethereum precompiles behave like smart contracts built into the Ethereum protocol. The nine precompiles live in addresses 0x01 to 0x09.

Last updated onOct 29, 2025
Read Article

11 min read

How ERC721 Enumerable Works

An Enumerable ERC721 is an ERC721 with added functionality that enables a smart contract to list all the NFTs an address owns.

Last updated onOct 22, 2025
Read Article

4 min read

How Chainlink Price Feeds Work

Chainlink price oracles are smart contracts with public view functions that return the price of a particular asset denominated in USD.

Last updated onOct 8, 2025
Read Article