Introduction RivETH v1.7.4

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.

Automatic Toolchain Installation
Both 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).

Terminal — One-Line Installer
curl -L https://temi-tade.github.io/RivETHDocs/install.sh | bash

Or download and extract RivETH manually into a new workspace directory:

Terminal — Manual Download
# 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.zip

3. 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:

Terminal — Initialize & Start Node
cd RivETH
chmod +x setup
./setup
Keep the Node Terminal Running
RivETH connects directly to your local Hardhat RPC (127.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.

RivETH dashboard running in the browser after setup.
RivETH dashboard running in the browser after setup.
About Solidity Knowledge
This documentation covers how to compile, deploy, debug, and automate contracts using RivETH. It assumes familiarity with basic Solidity syntax.