1Hyena/cryptograffiti

Compile cgd to webassembly

Closed this issue · 0 comments

The cgd program under agent/decoder folder is written in C++ and is used by the decoder agent when searching for graffiti from the Bitcoin TXs. It is a rather trivial process that gets a bitcoin TX json from its stdin and prints graffiti details to the stdout.

It would be super nice if that program was available in user's web browser, so that arbitrary TXs could be decoded from the block chain and their contents be displayed without relying on the cryptograffiti's central database.

To complete this task, make the necessary changes to the cgd program and compile it as webassembly. Then, integrate it to the web page and call it when necessary.