sol-console

The Ultimate Smart Contract Workbench.

Fork any EVM mainnet, generate Foundry tests, and interact with contracts in a powerful REPL. The all-in-one tool for rapid development, testing, and debugging.

Install for Free

Develop Against a Live Mainnet Fork


$ # Instantly spin up a local fork of Ethereum mainnet to test against live contracts
$ sol-console --from-etherscan 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 --fork-url $MAINNET_RPC

Welcome to Sol-Console!
🔥 Starting local fork of https://mainnet.alchemy.io/v2/abc...
✅ Fork is ready. 20 test accounts loaded.
🔗 Connected to RPC. Signer Address: 0xf3...99 on chain 1
📎 Attached to contract at 0x1f98...f984

contract> contract.name()
<- Return Value:
   "Uniswap"

contract> contract.balanceOf("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
<- Return Value:
   550000000000000000000
                    

Free vs. Pro

Feature Free Tier Pro Tier
Interactive REPL for Read/Write Calls
Compile & Deploy Local Solidity Files
Query Recent Events (Last 10 Blocks)
Fetch Verified ABIs from Etherscan
Local Development Node (--standalone)
Mainnet Forking (--fork-url)
Generate Foundry Tests (record & assert)
Deep Event Search (100,000+ Blocks)

Get Started

Install the tool and connect to your first contract in seconds.

macOS & Linux (via Shell)

Open your terminal and run the following command to install the tool.

curl -sSL https://download.blocktools.dev/install.sh | sh -s -- sol-console

Windows (via PowerShell)

Open a new PowerShell terminal and run the following command to install the tool.

iex (irm https://download.blocktools.dev/install.ps1) -ToolToInstall sol-console