Author

Topic: How to decode a raw tx without having a full client? (Read 509 times)

sr. member
Activity: 528
Merit: 368
BitcoinJS is a JavaScript library for both Node.js and the browser that does what you're looking for.
sr. member
Activity: 257
Merit: 343
if you are on unixoide systems, then this is were I started. It is at the shell level: https://github.com/pebwindkraft/trx_cl_suite
sr. member
Activity: 377
Merit: 282
Finis coronat opus
You can try Pycoin it has some methods to do such operations.
hero member
Activity: 574
Merit: 500
I think https://coinb.in/#verify can do this offline, it uses javascript to run in your browser only.

I just tested it and it works offline.
legendary
Activity: 1176
Merit: 1001
Suppose I have a raw tx, let's say in in hex format. Is there a library or piece of code (preferably in javascript, php or python) that allows me to decode the raw tx data into a json representation or "readable" format? I.e. something that shows the transaction's inputs and outputs?

I know there are online tools to do this, such as Smartbit or Blockcypher. But I'm looking for something to do this client side.
Jump to: