Skip to content

statechannels/bytecode-debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM Bytecode Debugger

This utility allows you to take bytecode and abi output from solc and step through the byte code.

Quick Start

# Download the sample contract from github
curl https://rawcdn.githack.com/statechannels/bytecode-debugger/836be299d2a9977fd78ca132dbb73a24090007cd/contracts/sample.sol -o ./sample.sol
# Build the bytecode and abi from the contract
solc  sample.sol --bin-runtime --abi -o .
# Debug the bytecode
npx bytecode-debugger -b ./Sample.bin-runtime -a ./Sample.abi

Simple demo