Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 607 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 607 Bytes

Dockerized hardhat with Create2Deployer contract deployed

Requirements

  • NVM or NodeJS v14.17.6
  • Docker v20.10.8
  • Yarn v1.22.10

Setup

  1. Build Docker image
docker build . -t hardhat
  1. Run Docker image
# !NOTE: Double check no other programs are using that port 8545
docker run -it -d -p 8545:8545 --name hardhat hardhat
  1. Verify that container is running
docker logs --follow hardhat
# Should see an output of wallet addresses and private keys

Voilà!

Don't forget to delete your container when you're done.

docker rm -f hardhat