Skip to content

Smart Contracts Cookbook

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

TitleDifficultyToolsDescription
Get Tokens from the Faucet🟢 BeginnerN/ALearn how to obtain test tokens from Polkadot faucets for development and testing purposes across different networks.

Build Smart Contracts

TitleDifficultyToolsDescription
Deploy a Basic Contract using RemixN/ARemixLearn 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🟢 BeginnerHardhatLearn 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🟢 BeginnerRemix, OpenZeppelinDeploy 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🟡 IntermediateHardhat, OpenZeppelinDeploy 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🟢 BeginnerRemix, OpenZeppelinLearn 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🟢 BeginnerHardhat, OpenZeppelinLearn 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

TitleDifficultyToolsDescription
Zero to Hero🟡 IntermediateHardhat, viem, Next.jsLearn 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

TitleDifficultyToolsDescription
Deploy Uniswap V2 Core🟡 IntermediateHardhatDeploy and test unmodified Uniswap V2 Core contracts on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path.
Deploy Uniswap V2 Periphery🟡 IntermediateHardhatDeploy 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🟡 IntermediateHardhatDeploy and test unmodified Uniswap V3 Core contracts on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path.
V3 Periphery🟡 IntermediateHardhatDeploy and test unmodified Uniswap V3 Periphery contracts, SwapRouter and NonfungiblePositionManager, on Polkadot Hub using standard Hardhat and TypeScript with the EVM execution path.

Last updated: