Core Workflow RivETH v1.7.4

Interacting with a Contract

RivETH generates a live interaction interface directly from your compiled ABI—adapting automatically between contract deployment and post-deployment function calls.

1. Loading the Contract

Enter your Contract Name and click Load (or press L). RivETH fetches the ABI and bytecode from artifacts/. Whenever you edit and recompile a contract, click Load again to pull the latest build.

Load the compiled contract into the RivETH UI.
Load the compiled contract into the RivETH UI.

2. Deployment & Constructor Parameters

If your contract defines a constructor, RivETH enables the constructor argument field prior to deployment:

Pass constructor arguments before clicking Deploy.
Pass constructor arguments before clicking Deploy.
  • Single Constructor Input

    Constructors use a single input field regardless of how many parameters they accept.

  • Comma-Separated Arguments

    Separate multiple constructor arguments with a comma and a space, e.g. "TokenName", "TKN", 18.

  • Strings, Bytes & Addresses in Constructors

    Wrap strings, bytes, and addresses in double quotes inside the constructor field, e.g. "0x123...".

  • Arrays

    Use square brackets with comma-separated elements, e.g. ["0xAbc","0xDef"].

No Constructor Parameters
If your contract has no constructor or accepts zero arguments, the constructor input field is disabled automatically.

3. Calling Contract Functions

Once deployed, RivETH renders a button and dedicated parameter inputs for every function in your contract. Function inputs are color-coded by Solidity state mutability:

Color-coded function buttons (left) and live transaction output logs (right).
Color-coded function buttons (left) and live transaction output logs (right).
  • Blue Buttons: Non-payable view or pure functions (read state, zero gas).
  • Orange Buttons: State-changing functions (write state, consumes gas).
  • Red Buttons: payable functions — use the Value field to attach ETH.
v1.6.0+ Parameter Input Improvement
As of RivETH v1.6.0, individual function parameter inputs no longer require wrapping strings, addresses, or bytes in double quotes before calling transactions.

4. Account Selection

Select any of the 20 pre-funded Hardhat accounts from the Accounts dropdown. RivETH tracks each address and live ETH balance so you can switch msg.sender signers instantaneously when testing role-based permissions.

Default Hardhat test accounts in the RivETH dropdown.
Default Hardhat test accounts in the RivETH dropdown.
Publicly Known Test Keys
Default Hardhat accounts and their private keys are publicly documented. Never send real funds to these addresses on Ethereum Mainnet or public networks.

5. Keyboard Shortcuts

Navigate the dashboard rapidly without leaving your keyboard:

ShortcutAction
LLoad compiled contract ABI & bytecode
DDeploy the loaded contract
CLaunch the ETH / Wei unit converter
ASwitch active Hardhat account
MOpen the RivETH main menu
ELaunch RivETHScan local block explorer
IConnect or disconnect Injected Web3 Provider