# bytecode-debugger

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

Latest version **0.1.11** (published 2021-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install bytecode-debugger
pnpm add bytecode-debugger
yarn add bytecode-debugger
bun add bytecode-debugger
```

Provides the commands `bcdebug`, `bytecode-debugger`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2021-09-02 |
| First published | 2021-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 26 |
| Unpacked size | 481.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | lagap |

## Links

- npm: https://www.npmjs.com/package/bytecode-debugger
- npm.io page: https://npm.io/package/bytecode-debugger

## Dependencies (26)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [cliui](https://npm.io/package/cliui.md) ^7.0.4
- [level](https://npm.io/package/level.md) ^7.0.0
- [yargs](https://npm.io/package/yargs.md) ^17.1.1
- [ethers](https://npm.io/package/ethers.md) ^5.4.5
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [levelup](https://npm.io/package/levelup.md) ^5.0.1
- [prompts](https://npm.io/package/prompts.md) ^2.4.1
- [ts-node](https://npm.io/package/ts-node.md) ^10.2.1
- [jsonfile](https://npm.io/package/jsonfile.md) ^6.1.0
- [prettier](https://npm.io/package/prettier.md) ^2.3.2
- [cli-table3](https://npm.io/package/cli-table3.md) ^0.6.0
- [typescript](https://npm.io/package/typescript.md) ^4.3.5
- [@types/clui](https://npm.io/package/@types/clui.md) ^0.3.1
- [@types/chalk](https://npm.io/package/@types/chalk.md) ^2.2.0
- [@types/level](https://npm.io/package/@types/level.md) ^6.0.0
- [@types/table](https://npm.io/package/@types/table.md) ^6.3.2
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^17.0.2
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.172
- [@ethereumjs/vm](https://npm.io/package/@ethereumjs/vm.md) ^5.5.2
- [@types/levelup](https://npm.io/package/@types/levelup.md) ^4.3.3
- [@types/prompts](https://npm.io/package/@types/prompts.md) ^2.0.14
- [@types/jsonfile](https://npm.io/package/@types/jsonfile.md) ^6.0.1
- [ethereumjs-util](https://npm.io/package/ethereumjs-util.md) ^7.1.0
- [@ethereumjs/block](https://npm.io/package/@ethereumjs/block.md) ^3.4.0
- [@ethereumjs/common](https://npm.io/package/@ethereumjs/common.md) ^2.4.0

## Recent versions

- 0.1.11 (latest) — 2021-09-02
- 0.1.10 — 2021-09-02
- 0.1.9 — 2021-09-01
- 0.1.8 — 2021-09-01
- 0.1.7 — 2021-09-01
- 0.1.6 — 2021-08-31
- 0.1.5 — 2021-08-31
- 0.1.4 — 2021-08-31
- 0.1.3 — 2021-08-31
- 0.1.2 — 2021-08-31
- 0.1.1 — 2021-08-31
- 0.1.0 — 2021-08-31

## README

# EVM Bytecode Debugger

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

## Quick Start

```shell
# 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](https://github.com/statechannels/bytecode-debugger/blob/main/images/demo.gif?raw=true)

---
_Source: https://npm.io/package/bytecode-debugger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
