Configure Hardhat
Configure Hardhat
Hardhat Installation
npm install --save-dev hardhatCreate a Hardhat Project
npx hardhat initConfigure Hardhat for Citrea
module.exports = {
// ...rest of your config
networks: {
citrea: {
url: "https://rpc.testnet.citrea.xyz",
chainId: 5115,
accounts: ["YOUR_PRIVATE_KEY"],
},
},
// ...rest of your config
};Implement Your Smart Contract and Deploy
Congratulations!
Last updated
Was this helpful?