Skip to content

hashd2035/HardhatDevContainerTemplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a Visual Studio Code remote dev container template for doing blockchain development with node.js and Hardhat

Note about the first run

On the very first run the container needs to be built - This can take a while. The next run will be much faster.

How to use

Instuctions for getting started with dev containers within Visual Studio Code can be found here

Base Container

Components Installed

  • node.js (14.x) + npm

Note: You install Hardhat as a dev dependency when you create your project, it's not a globally installed tool like Truffle

Visual Studio Code Extensions

To Initialise a new project

npm init --yes
npm install --save-dev hardhat

npx hardhat

Follow the prompts, then

npm install --save-dev @nomiclabs/hardhat-ethers ethers @nomiclabs/hardhat-waffle ethereum-waffle chai

Add the following line to the top of the hardhat.config.js

require("@nomiclabs/hardhat-waffle");

Blog Post

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%