diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..724e1f254f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" +}