Welcome to the Polkadot smart contracts cookbook index.
This page contains a list of all relevant tutorials and guides to help you get started coding smart contracts and dApps in Polkadot.
Get Tokens from the Faucet
| Title | Difficulty | Tools | Description |
|---|
| Get Tokens from the Faucet | 🟢 Beginner | N/A | Learn how to obtain test tokens from Polkadot faucets for development and testing purposes across different networks. |
Build Smart Contracts
| Title | Difficulty | Tools | Description |
|---|
| Deploy a Basic Contract using Remix | N/A | Remix | Learn how to deploy a basic smart contract to Polkadot Hub using Remix IDE, ideal for rapid prototyping, learning, and visual development. |
| Deploy a Basic Contract using Hardhat | 🟢 Beginner | Hardhat | Learn how to deploy a basic smart contract to Polkadot Hub using Hardhat, ideal for professional workflows that require comprehensive testing and debugging. |
| Deploy an ERC-20 using Remix | 🟢 Beginner | Remix, OpenZeppelin | Deploy an ERC-20 token contract on Polkadot Hub. This guide covers contract creation, compilation, deployment, and interaction via the Remix IDE. |
| Deploy an ERC-20 using Hardhat | 🟡 Intermediate | Hardhat, OpenZeppelin | Deploy an ERC-20 token on Polkadot Hub using PVM. This guide covers contract creation, compilation, deployment, and interaction via Hardhat. |
| Deploy an NFT using Remix | 🟢 Beginner | Remix, OpenZeppelin | Learn how to deploy an ERC-721 NFT contract to Polkadot Hub using Remix, a browser-based IDE for quick prototyping and learning. |
| Deploy an NFT using Hardhat | 🟢 Beginner | Hardhat, OpenZeppelin | Learn how to deploy an ERC-721 NFT contract to Polkadot Hub using Hardhat, a comprehensive development environment with built-in deployment capabilities. |
Create a DApp
| Title | Difficulty | Tools | Description |
|---|
| Zero to Hero | 🟡 Intermediate | Hardhat, viem, Next.js | Learn how to build a decentralized application on Polkadot Hub using Viem and Next.js by creating a simple dApp that interacts with a smart contract. |
Port Ethereum DApps
| Title | Difficulty | Tools | Description |
|---|
| Deploy Uniswap V2 Core | 🟡 Intermediate | Hardhat | Deploy and test unmodified Uniswap V2 Core contracts on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path. |
| Deploy Uniswap V2 Periphery | 🟡 Intermediate | Hardhat | Deploy and test unmodified Uniswap V2 Periphery Router contracts on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path. |
| Deploy Uniswap V3 Core | 🟡 Intermediate | Hardhat | Deploy and test unmodified Uniswap V3 Core contracts on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path. |
| V3 Periphery | 🟡 Intermediate | Hardhat | Deploy and test unmodified Uniswap V3 Periphery contracts, SwapRouter and NonfungiblePositionManager, on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path. |