Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This component needs to be able to parse transaction from data used by bitcoind getrawtransaction or from binary data.
Transaction data needs to be represented in such a way that it would be easy to work with it.
It is rather tedious, but I think we can borrow code from existing clients.
For example, Armory PyTx, see also PyTxIn, PyTxOut.
- Electrum has wallet and tx manipulation more-or-less self contained, see here
TODO: find which one is the best
I [Plazmotech] checked out Electrum, and what they provided, I would say, is sub par for a Coloured Coin client. Firstly, the quantity of external libraries and files it requires are too big to do such a simple task. Take a look here.
Now, I don't know much about Coloured Coins, however, I believe the format it outputs is NOT ideal for Coloured Coin Tracing. The reason is, Electrum does not output the transaction in standard JSON transaction notation, (showing the inputs and the outputs value), but only shows how many coins went to each output.
Again, I don't know much about Coloured Coins but I believe this will make a difficult environment to work with.
Now we need someone to check PyCoin, or develop a good algorithm and writing it themselves.