-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a devcontainer setup for Hardhat and EDR
- Loading branch information
1 parent
5ea9427
commit 8c0669e
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Hardhat + EDR", | ||
"image": "mcr.microsoft.com/devcontainers/base:bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"version": "16" /* Keep in sync with the oldest version of Node.js that Hardhat supports */ | ||
}, | ||
"ghcr.io/devcontainers/features/rust:1": { | ||
"version": "1.70" /* Keep in sync with rust-toolchain */, | ||
"profile": "default" | ||
} | ||
}, | ||
/* libudev-dev is required by hardhat-ledger. pkg-config is required by EDR to use OpenSSL */ | ||
"postCreateCommand": "sudo apt update && sudo apt install -y libudev-dev pkg-config" | ||
} |