An example decred transaction parser in python
- Add the hex encoded transaction to the
test.py
file.
Ex:
txHex = '0100000001d...'
deserializer = DecredTxParser(txHex, 0)
deserializer.read_tx()
- Run the following in the project dir
python3 ./test.py
- Supporting deserialization of txType(s) 0, 1, 2, 3, 4
- https://docs.decred.org/advanced/transaction-details/#serialization-formats