meep

command module
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

meep

Build Status

Meep is a command line Bitcoin Cash script debugger

Install
go install github.com/gcash/meep@latest
Usage
Usage:
  meep [OPTIONS] debug [debug-OPTIONS]

Enter the script debugging mode

Application Options:
  -v, --version        Print the version number and exit

Help Options:
  -h, --help           Show this help message

[debug command options]
      -t, --tx=        the full transaction hex or BCH mainnet txid. If only a txid is provided the
                       transaction will be looked up via the RPC server.
      -i, --idx=       the input index to debug
      -a, --amt=       the amount of the input (in satoshis) we're debugging. This can be omitted if the
                       transaction is in the BCH blockchain as it will be looked up via the RPC server.
      -s, --pkscript=  the input's scriptPubkey. This can be omitted if the transaction is in the BCH
                       blockchain as it will be looked up via the RPC server.
          --rpcserver= A hostname:port for a gRPC API to use to fetch the transaction and scriptPubkey if
                       not providing through the options. (default: bchd.greyh.at:8335)

Keys
Key Action
F4, Right arrow or n Step forward
F3, Left arrow or p Step back
h Show or hide help for the next opcode
Esc or q Quit
Examples
// P2PKH
meep debug --tx=048e890c1931a8c3f908d5826943c47021c5bfebc6c8ef96684207c53cfa7ea3

// Tree signature
meep debug --tx=3332086562ccde663bec7928352098992b9e626bb8f1e95486d618219598c578

// Last will
meep debug --tx=b0f79eea9e05fe83e198efff4363e3e347d5efd77a22fbf39a09347162fb2560
Windows

The debugger needs a Windows console. Git Bash's default window (MinTTY) is not one, so in Git Bash start meep through winpty:

winpty meep debug --tx=048e890c1931a8c3f908d5826943c47021c5bfebc6c8ef96684207c53cfa7ea3

Alternatively, run meep from Windows Terminal, PowerShell or cmd.exe.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址