Join our
Discord!
LogoLogo
SupraScan ExplorerStarKey WalletDiscord
EVM
  • Network
  • Oracles
  • Automation
  • SupraNova
  • Guides
EVM
  • Overview
  • Getting Started
    • Remix IDE
      • Fund Your Wallet
      • Connect StarKey Wallet to Remix
      • Guide to Deploy Smart Contract
    • Hardhat
      • Getting Private Key from StarKey
      • Create Hardhat Project
      • Write Smart Contract
      • Deploying Smart Contract
    • Foundry
      • Getting Private Key from StarKey
      • Create Foundry Project
      • Write Smart Contract
      • Deploying Smart Contract
    • Your First Solidity Contract
  • Network Information
Powered by GitBook
On this page
Edit on GitHub
  1. Getting Started
  2. Hardhat

Create Hardhat Project

Set up a Hardhat project by installing dependencies, initializing a new npm project, and creating a sample Hardhat environment to deploy smart contracts on SupraEVM.


We will be using the Javascript project option after having the init command.

Install Hardhat and Dependencies

  • Create a new project directory and navigate into it:

mkdir hardhat-project
cd hardhat-project
  • Initialize a new npm project:

npm init -y
  • Install Hardhat:

npm install --save-dev hardhat
  • Create a sample project using Hardhat:

npx hardhat init
PreviousGetting Private Key from StarKeyNextWrite Smart Contract