How to deploy a smart contract to Celo testnet, mainnet, or a local network using Hardhat.
Hardhat is one of the most popular developer tools for writing contracts for EVM compatible blockchains. Hardhat is a great tool for developing smart contracts for Celo--you can find more information about this in the Celo documentation here.
In this tutorial I will go over how to use the hardhat-deploy plugin for hardhat, specifically to verify deployed contracts on the Celo block explorer via Sourcify. You can verify contracts with the plugin whether you deployed them using the plugin or not.
In this post I will cover
- setting up a hardhat project with the hardhat-deploy plugin
- deploying contracts using the plugin
- how to verify the contracts on sourcify
Throughout this intermediate course you are going to learn about NFTs, contract development with Hardhat and how to build a React frontend with use-contractkit.
Learn how to write a smart contract using the Solidity language and a contract from the Openzeppelin library for ERC1155 tokens.