Author

Topic: Visualizing Bitcoin Seizure by FBI (Read 1369 times)

newbie
Activity: 49
Merit: 0
January 10, 2014, 08:49:31 AM
#5
Thanks.  Would you mind elaborating on the tools and techniques you used to render the data like that?

Steps + Tools:
     1. Node.js, JQuery web scraping from blockexplorer.com
     2. C++ boost library regex to parse block/ transaction data
     3. R programming language to manipulate data.
     4. R network package "igraph" to create bitcoin network.
     5. "rgexf" R package to export your graph to Gephi visualizer.
     6. Visualize your graph in Gephi with awesome Gephi layout plugins.  


Yep. It's actually part of my network research. First of all, you need to have the whole or part (it depends on your focus of analysis) of the bitcoin blockchain or block information json/html formatted files downloaded. So, in my case I scraped htmls using node.js from blockexplorer.com because then it's very easy to parse the information. You can do it from blockchain.info too. Or you can even manipulate the block chain level db  databases that is constantly being downloaded in your computer by your bitcoin wallet. Such manipulator already exists such as Gavin's Bitcointools (https://github.com/gavinandresen/bitcointools) but outdated.
 In my case, then all the block information as well as transaction information data are parsed from the html file using c++ boost library, basically regex. In fact you can use python, node.js, perl, ruby or even R to do these things. But obviously C++ is fast when you are dealing with massive data. The best combination will be C++ and R(RCpp package).
 Now if you have parsed the transaction data, you need to create network edges. You can do it by pure R language and with useful R packages.
 Then if you want to manipulate that network, the R package called "igraph"(http://igraph.sourceforge.net/screenshots.html) is the best one out there. With igraph you can plot nice graphs but not magnificently beautiful ones. There comes other visualization GUIs like gephi or graphviz.
 I used gephi (https://gephi.org/). Now how do you take your graph to gephi from R,i.e. convert to .gexf file. There comes R to gephi exporter rgexf package(http://cran.fhcrc.org/web/packages/rgexf/index.html).
 Once you get your network in gephi, then you will be astonished how many different things gephi can allow you to do. Gephi has so many plugins, layouts to create outstanding graphs, visualize and do other network analysis.
  Finally, if anyone learns all these tools. They can manipulate anything in the web, any graphs. Hope this helps. Please post and share your works. Thank you.
sr. member
Activity: 280
Merit: 250
January 10, 2014, 05:00:09 AM
#4
Thanks.  Would you mind elaborating on the tools and techniques you used to render the data like that?
newbie
Activity: 49
Merit: 0
January 10, 2014, 04:25:29 AM
#3
Now you can see. I don't know why bitcointalk won't show google drive publicly shared link.. !!! I need to upload it to imgur.. Whoahhh.
hero member
Activity: 593
Merit: 505
Wherever I may roam
January 10, 2014, 04:22:02 AM
#2
Can't see the pic mate..
newbie
Activity: 49
Merit: 0
January 10, 2014, 04:17:34 AM
#1
  I think everyone in bitcoin space knows the FBI seizure of the dread pirate Robert's Silkroad(http://goo.gl/igg6CE). It was a big news back in October. And also someone has already tagged the FBI address in blockchain.info .
https://blockchain.info/address/1FfmbHfnpaZjKFvyi1okTjJJusN455paPH
https://blockchain.info/address/1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX
 So anyone who holds the blockchain can actually calculate the amount of BTC in the address and make it visual like I did. Hope everyone will enjoy. Look how fat the green FBI node is. It has eaten so much bitcoin !!!

https://i.imgur.com/CRl6FWe.png
https://i.imgur.com/K079SJQ.png
https://i.imgur.com/RLSV7O8.png
Jump to: