mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 15:54:36 +00:00
f6332ac646
* chore(rln-relay): use anvil instead of ganache in onchain tests * fix: incl rustup in makefile
14 lines
339 B
Bash
Executable File
14 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Install Anvil
|
|
|
|
|
|
BASE_DIR="${XDG_CONFIG_HOME:-$HOME}"
|
|
FOUNDRY_DIR="${FOUNDRY_DIR-"$BASE_DIR/.foundry"}"
|
|
FOUNDRY_BIN_DIR="$FOUNDRY_DIR/bin"
|
|
|
|
curl -L https://foundry.paradigm.xyz | bash
|
|
# Extract the source path from the download result
|
|
echo "foundryup_path: $FOUNDRY_BIN_DIR"
|
|
# run foundryup
|
|
$FOUNDRY_BIN_DIR/foundryup |