Set Up Your Development Environment

We'll use Hardhat, the industry-standard development environment for EVM chains.

Open your terminal and run the following commands to create a new project directory and initialize it.

Bash

mkdir wsc-degen-game
cd wsc-degen-game
npm init -y
npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox

Now, initialize a sample project. Run:

Bash

npx hardhat init

Select "Create a TypeScript project" and agree to the defaults for the other prompts. This will create a basic project structure for you.

Last updated