Skip to content

statechannels/hardhat-docker

Repository files navigation

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

About

A way to Dockerize your Hardhat solidity contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •