This repository contains a collection of basic examples demonstrating how to deploy and interact with Ethereum-compatible smart contracts on Polkadot Hub using Hardhat and REVM (Rust Ethereum Virtual Machine). These examples showcase best practices for smart contract development in a modern Hardhat environment.
This repository contains the following example projects:
- erc20-hardhat - implementation of an ERC-20 token contract using Hardhat
 
Each subfolder is a standalone Hardhat project with its own configuration, contracts, deployment scripts, and tests.
- 
Clone this repository
git clone https://github.com/polkadot-developers/revm-hardhat-examples.git cd revm-hardhat-examples - 
Navigate to any of the example directories
cd erc20-hardhat 
Each example folder contains its own README with specific instructions and explanations for that particular smart contract implementation.
For comprehensive guidance on deploying contracts to REVM using Hardhat, visit the Hardhat Development Environment page in the official Polkadot documentation. This resource provides step-by-step instructions, configuration details, and best practices for smooth integration.
Contributions are welcome! Please feel free to submit a Pull Request.