Getting Started
Follow these steps to initialize your local Ethereum workspace with RivETH, install the Solidity compiler, and launch the browser dashboard.
1. Prerequisites
-
Node.js (LTS or Current)
Required to run the local Hardhat network and manage project packages. Download from nodejs.org.
-
VS Code Extensions
Install Solidity (by Nomic Foundation) and Live Server (by Ritwick Dey). Verify publisher names before installing.
-
Terminal Access
Used on macOS, Linux, or Windows (Git Bash) for running the setup script, Hardhat node, and compilation commands.
solc (Solidity compiler v0.8.36) and hardhat (local blockchain node
provider) are installed automatically alongside project dependencies when you run the setup script.2. Download & Initialize
You can install and initialize RivETH using the one-line installer, or run the manual download and setup steps in your terminal (or Git Bash on Windows).
curl -L https://temi-tade.github.io/RivETHDocs/install.sh | bashOr download and extract RivETH manually into a new workspace directory:
# Create and enter your workspace directory
mkdir solidity-smart-contract-practice && cd solidity-smart-contract-practice
# Download and extract the latest RivETH codebase
curl -L -O https://github.com/Temi-Tade/RivETH/archive/refs/heads/main.zip --output RivETH.zip && unzip RivETH.zip -d temp && mv temp/RivETH-main/* . && rm -rf temp RivETH.zip3. Run the Setup Script
Navigate into the RivETH directory and run ./setup. This downloads
the solc binary, runs npm install, and starts your local Hardhat
node with 20 pre-funded test accounts:
cd RivETH
chmod +x setup
./setup127.0.0.1:8545). Keep this
terminal session active while using the dashboard—if the node stops, contracts and state
cannot be loaded.4. Launch Web App & Block Explorer
Open the project folder in VS Code and start the Live Server extension (click Go Live in the bottom status bar). This opens the RivETH dashboard interface directly in your browser.