Solidity REPL

Build state. Inspect every effect.

Run Solidity entries in sequence, see exactly what changed, and replay the complete investigation.

Saved
Scratchpad.sol
Editor mode
REPLInline results stay with entries
No replay yet
Replay needed
In [1]
// Start with the interesting part.
uint256 a = 10
uint256 b = 3

a / b
a % b
a ** b
Earlier entries are available here.⌘/Ctrl+Enter to run · ↑↓ for history
Sessions save automatically on this device.
⌘/Ctrl + Enter to run
/ REPL RECIPES

Start from a working example.

96 practical cases for math, contracts, call data, debugging, forks, and VM helpers.

Browse with guides

Math & units

Encoding & crypto

Syntax & control flow

Types & storage

Contracts & calls

Context & forks

Debugging & errors

VM helpers