inscriptions-parser.py
is a simple Python script that extracts the raw inscription data from the taproot witness data and generates a binary output file with the results.
The script requires Python 3.
To use the inscriptions parser script:
- Find your inscription tx on a bitcoin explorer i.e. https://mempool.space
- Find the witness data in the tx details
- Copy the witness data hex
- Paste the witness data hex in the
witness_data
variable within theinscriptions-parser.py
script - Run the script using
python inscriptions-parser.py
- Append the appropiate file extension to the output file i.e.
inscription-output.jpg
- Open the file and rejoice!
I made a video that goes over the thinking behind ordinals and I use this script to do a Proof of Inscription: https://youtu.be/s7O13il4-0Y