Tools & Automation RivETH v1.7.4
Cross-Contract Calls
Multi-Tab Orchestration
RivETH supports complex multi-contract architectures—such as proxies, DEXs, lending pools, and DAO governance—through Multi-Tab Orchestration.
- Open a dedicated browser tab for each smart contract you are testing.
- Each tab operates as an independent dashboard for its loaded contract.
- Because every tab connects to the same local Hardhat RPC (
127.0.0.1:8545), contracts can call each other on-chain without interference.
Example: Interactive Cross-Contract Testing
Deploy Counter in Tab 1, copy its deployed contract address from the RivETH UI,
and pass it into Caller.callIncrement in Tab 2. See the Interacting guide for parameter formatting details.
Counter.sol
// Tab 1: Deploy Counter first
contract Counter {
uint256 public count;
function increment() external {
count++;
}
} Caller.sol
// Tab 2: Pass the deployed Counter address to callIncrement()
import { Counter } from "./Counter.sol";
contract Caller {
function callIncrement(address _counter) external {
Counter(_counter).increment();
}
}Calling callIncrement increments count inside the Counter contract in real time. Switch back to Tab 1 and click count to verify the updated state.