Commit 6312436 1 parent 5ed0466 commit 6312436 Copy full SHA for 6312436
File tree 3 files changed +3
-31
lines changed
3 files changed +3
-31
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : "Hardhat + EDR " ,
2
+ "name" : "Hardhat" ,
3
3
"image" : "mcr.microsoft.com/devcontainers/base:bullseye" ,
4
4
"features" : {
5
5
"ghcr.io/devcontainers/features/node:1" : {
6
6
"version" : "18"
7
7
}
8
8
} ,
9
9
"postAttachCommand" : "scripts/setup.sh" ,
10
- "portsAttributes" : {
11
- // The default port of mdbook
12
- "3000" : {
13
- "label" : "mdbook" ,
14
- "onAutoForward" : "openPreview"
15
- }
16
- } ,
17
10
"containerEnv" : {
18
11
"ALCHEMY_URL" : "${localEnv:ALCHEMY_URL}" ,
19
12
"INFURA_URL" : "${localEnv:INFURA_URL}"
23
16
"extensions" : [
24
17
"esbenp.prettier-vscode" ,
25
18
"NomicFoundation.hardhat-solidity" ,
26
- "rust-lang.rust-analyzer" ,
27
19
"tamasfe.even-better-toml" ,
28
20
"vadimcn.vscode-lldb"
29
- ] ,
30
- "settings" : {
31
- "rust-analyzer.cargo.features" : "all" ,
32
- "rust-analyzer.rustfmt.extraArgs" : [
33
- "+nightly"
34
- ]
35
- }
21
+ ]
36
22
}
37
23
}
38
24
}
Original file line number Diff line number Diff line change 1
- # Rust toolchain
2
- brew "rustup-init"
3
1
# NodeJS version 18
4
2
brew "node@18"
5
3
# Yarn package manager for NodeJS
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -euo pipefail
3
3
4
- rust_version=$( < rust-toolchain)
5
-
6
- # rustup
7
- curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $rust_version
8
-
9
- # Make rustup available to this script
10
- source " $HOME /.cargo/env"
11
-
12
- # Install nightly rustfmt
13
- rustup toolchain install nightly --profile minimal --component rustfmt
14
-
15
4
sudo apt update
16
5
17
6
# TODO: nodejs, npm, yarn
18
7
# libudev-dev is required by hardhat-ledger
19
- # pkg-config is required by EDR to use OpenSSL
20
- sudo apt install -y libudev-dev pkg-config
8
+ sudo apt install -y libudev-dev
You can’t perform that action at this time.
0 commit comments