-
Notifications
You must be signed in to change notification settings - Fork 0
/
lets-play-gephi-bitcoin-transactions.html
18 lines (17 loc) · 15 KB
/
lets-play-gephi-bitcoin-transactions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Let's Play Gephi : Bitcoin Transactions - Toto do stuff</title><meta name="description" content="Servus ! Just a quick post for some scripts that will allow you to visualise in real-time bitcoin transactions, thanks to https://blockchain.info/ web service. Prerequisites…"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="canonical" href="https://totetmatt.github.io/lets-play-gephi-bitcoin-transactions.html"><link rel="alternate" type="application/atom+xml" href="https://totetmatt.github.io/feed.xml"><link rel="alternate" type="application/json" href="https://totetmatt.github.io/feed.json"><meta property="og:title" content="Let's Play Gephi : Bitcoin Transactions"><meta property="og:image" content="https://totetmatt.github.io/media/posts/26/BitCoin_Network_Pattern.png"><meta property="og:site_name" content="Toto do stuff"><meta property="og:description" content="Servus ! Just a quick post for some scripts that will allow you to visualise in real-time bitcoin transactions, thanks to https://blockchain.info/ web service. Prerequisites…"><meta property="og:url" content="https://totetmatt.github.io/lets-play-gephi-bitcoin-transactions.html"><meta property="og:type" content="article"><style>:root{--body-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--heading-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--logo-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--menu-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}</style><link rel="stylesheet" href="https://totetmatt.github.io/assets/css/style.css?v=825c89ac06c7215b642eda05e8a14751"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://totetmatt.github.io/lets-play-gephi-bitcoin-transactions.html"},"headline":"Let's Play Gephi : Bitcoin Transactions","datePublished":"2014-01-06T07:24","dateModified":"2020-06-20T00:35","image":{"@type":"ImageObject","url":"https://totetmatt.github.io/media/posts/26/BitCoin_Network_Pattern.png","height":1019,"width":1680},"description":"Servus ! Just a quick post for some scripts that will allow you to visualise in real-time bitcoin transactions, thanks to https://blockchain.info/ web service. Prerequisites…","author":{"@type":"Person","name":"Totetmatt","url":"https://totetmatt.github.io/authors/totetmatt/"},"publisher":{"@type":"Organization","name":"Totetmatt"}}</script></head><body><div class="site-container"><header class="top" id="js-header"><a class="logo" href="https://totetmatt.github.io/">Toto do stuff</a></header><main><article class="post"><div class="hero"><figure class="hero__image hero__image--overlay"><img src="https://totetmatt.github.io/media/posts/26/BitCoin_Network_Pattern.png" srcset="https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-xs.png 300w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-sm.png 480w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-md.png 768w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-lg.png 1024w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-xl.png 1360w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-2xl.png 1600w" sizes="(max-width: 1600px) 100vw, 1600px" loading="eager" height="1019" width="1680" alt=""></figure><header class="hero__content"><div class="wrapper"><div class="post__meta"><time datetime="2014-01-06T07:24">14/01/06</time></div><h1>Let's Play Gephi : Bitcoin Transactions</h1><div class="post__meta post__meta--author"><a href="https://totetmatt.github.io/authors/totetmatt/" class="feed__author invert">Totetmatt</a></div></div></header></div><div class="wrapper post__entry"><p>Servus !</p><p>Just a quick post for some scripts that will allow you to visualise in real-time <strong>bitcoin transactions</strong>, thanks to https://blockchain.info/ web service<strong></strong>.</p><p><strong>Prerequisites :</strong></p><ul><li>Gephi with the <a href="https://marketplace.gephi.org/plugin/graph-streaming/">Streaming Plugins</a></li><li>Python installed</li></ul><p>You can download a version of the scripts with all the libraries embeeded : <a href="http://matthieu-totet.fr/bitcoin.zip">http://matthieu-totet.fr/bitcoin.zip</a></p><p>A git repo exists here for the scripts only : <a href="https://github.com/totetmatt/gephi-bitcoin">https://github.com/totetmatt/gephi-bitcoin</a></p><p><strong>How does it works ?</strong></p><ul><li>Open Gephi, create a new project and Start the<strong> master server</strong> in the Streaming plugin<a href="https://totetmatt.github.io/media/posts/26/ScreenHunter_01-Jul.-30-08.39.jpg">.<br><figure class="alignnone size-full wp-image-216"><img loading="lazy" alt="ScreenHunter_01 Jul. 30 08.39" src="https://totetmatt.github.io/media/posts/26/ScreenHunter_01-Jul.-30-08.39.jpg" sizes="(max-width: 48em) 100vw, 768px" srcset="https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-xs.jpg 300w, https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-sm.jpg 480w, https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-md.jpg 768w, https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-lg.jpg 1024w, https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-xl.jpg 1360w, https://totetmatt.github.io/media/posts/26/responsive/ScreenHunter_01-Jul.-30-08.39-2xl.jpg 1600w" width="278" height="212"></figure></a></li></ul><ul><li>Download the zip <a href="http://matthieu-totet.fr/bitcoin.zip">here </a>and unzip it on you computer where you want.</li><li>Execute a script :<ul><li><em>Complete.bat</em> for Windows or <em>Complete.sh</em> for Linux / OSX : Create a graph by representing<strong> in addresses</strong>, <strong>out addresses</strong> and <strong>transactions </strong>as node and relationship <strong>in addresses-[]-> transaction</strong> and <strong>transaction-[]-> out addresses</strong>.</li><li><em>Simple.bat</em> for Windows or <em>Simple.sh</em> for Linux / OSX : Same as before , but it will only represent<strong> in / out addresses </strong>as node and relationship <strong>in addresses-[]->out addresses</strong>.</li></ul></li><li>Watch your gephi and have fun.</li></ul><p><strong>Advise</strong>:</p><p>The complete script will generate graph that will makes Force Atlas I, II , 3D running kind of crazy with default parameters. It's because the amplitude of edges weight (representing the number of µBTC ) can be very wide. To stabilize the layouts I can advise you to :</p><ul><li><em>(Force Atlas I)</em> Put the property <strong>Maximum Displacement</strong> to <strong>1</strong> or lower (but not 0).</li><li><em>(Force Atlas II / 3D)</em> Put the property <strong>Edge Influence Weight</strong> to <strong>0.2</strong> or lower (0 is possible here).</li></ul><p>Here is some overviews :</p><ul><li>Red > Wallet / Address</li><li>Blue > Transaction</li></ul><figure class="alignnone size-large wp-image-297"><a href="http://matthieu-totet.fr/Koumin/wp-content/uploads/2014/01/OverviewBitcoin.png"><img loading="lazy" alt="OverviewBitcoin" src="https://totetmatt.github.io/media/posts/26/OverviewBitcoin-1024x622.png" sizes="(max-width: 48em) 100vw, 768px" srcset="https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-xs.png 300w, https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-sm.png 480w, https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-md.png 768w, https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-lg.png 1024w, https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-xl.png 1360w, https://totetmatt.github.io/media/posts/26/responsive/OverviewBitcoin-1024x622-2xl.png 1600w" width="1024" height="622"></a></figure><p></p><figure class="alignnone size-large wp-image-300"><a href="http://matthieu-totet.fr/Koumin/wp-content/uploads/2014/01/BitCoin_Network1.png"><img loading="lazy" alt="BitCoin_Network1" src="https://totetmatt.github.io/media/posts/26/BitCoin_Network1-1024x624.png" sizes="(max-width: 48em) 100vw, 768px" srcset="https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-xs.png 300w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-sm.png 480w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-md.png 768w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-lg.png 1024w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-xl.png 1360w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network1-1024x624-2xl.png 1600w" width="1024" height="624"></a></figure><a href="http://matthieu-totet.fr/Koumin/wp-content/uploads/2014/01/BitCoin_Network_Pattern.png"><figure class="alignnone size-large wp-image-299"><img loading="lazy" alt="BitCoin_Network_Pattern" src="https://totetmatt.github.io/media/posts/26/BitCoin_Network_Pattern-1024x621.png" sizes="(max-width: 48em) 100vw, 768px" srcset="https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-xs.png 300w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-sm.png 480w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-md.png 768w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-lg.png 1024w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-xl.png 1360w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network_Pattern-1024x621-2xl.png 1600w" width="1024" height="621"></figure></a><a href="http://matthieu-totet.fr/Koumin/wp-content/uploads/2014/01/BitCoin_Network2.png"><figure class="alignnone size-large wp-image-298"><img loading="lazy" alt="BitCoin_Network2" src="https://totetmatt.github.io/media/posts/26/BitCoin_Network2-1024x621.png" sizes="(max-width: 48em) 100vw, 768px" srcset="https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-xs.png 300w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-sm.png 480w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-md.png 768w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-lg.png 1024w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-xl.png 1360w, https://totetmatt.github.io/media/posts/26/responsive/BitCoin_Network2-1024x621-2xl.png 1600w" width="1024" height="621"></figure></a><p></p></div><footer class="wrapper post__footer"><p class="post__last-updated">This article was updated on 20/06/20</p><ul class="post__tag"><li><a href="https://totetmatt.github.io/bitcoin/">Bitcoin</a></li><li><a href="https://totetmatt.github.io/gephi/">Gephi</a></li></ul><div class="post__share"></div><div class="post__bio bio"><div class="bio__info"><h3 class="bio__name"><a href="https://totetmatt.github.io/authors/totetmatt/" class="invert" rel="author">Totetmatt</a></h3></div></div></footer></article><nav class="post__nav"><div class="post__nav-inner"><div class="post__nav-prev"><svg width="1.041em" height="0.416em" aria-hidden="true"><use xlink:href="https://totetmatt.github.io/assets/svg/svg-map.svg#arrow-prev"/></svg> <a href="https://totetmatt.github.io/lets-play-gephi-understand-degree-weighted-degree-and-betweeness-centrality.html" class="invert post__nav-link" rel="prev"><span>Previous</span> Let's Play Gephi : Understand Degree, Weighted Degree & Betweeness centrality</a></div><div class="post__nav-next"><a href="https://totetmatt.github.io/ishkurs-guide-to-electronic-music.html" class="invert post__nav-link" rel="next"><span>Next</span> Ishkur's Guide to Electronic Music </a><svg width="1.041em" height="0.416em" aria-hidden="true"><use xlink:href="https://totetmatt.github.io/assets/svg/svg-map.svg#arrow-next"/></svg></div></div></nav><div class="post__related related"><div class="wrapper"><h2 class="h5 related__title">You should also read:</h2><article class="related__item"><div class="feed__meta"><time datetime="2016-04-25T20:33" class="feed__date">16/04/25</time></div><h3 class="h1"><a href="https://totetmatt.github.io/twitter-streaming-importer-naoyun-as-a-gephi-plugin.html" class="invert">Twitter Streaming Importer : Naoyun as a Gephi Plugin</a></h3></article><article class="related__item"><div class="feed__meta"><time datetime="2015-11-05T08:55" class="feed__date">15/11/05</time></div><h3 class="h1"><a href="https://totetmatt.github.io/the-final-hack-of-the-gephi-streaming-plugin.html" class="invert">The Final hack of the Gephi Streaming Plugin</a></h3></article><article class="related__item"><div class="feed__meta"><time datetime="2015-09-06T22:47" class="feed__date">15/09/06</time></div><h3 class="h1"><a href="https://totetmatt.github.io/lets-play-gephi-dbpedia-rdf-sparql-and-your-favorite-actors.html" class="invert">Let's Play Gephi : Dbpedia, RDF, Sparql and your favorite Actors</a></h3></article></div></div></main><footer class="footer"><div class="footer__copyright"><p>Powered by <a href="https://getpublii.com" target="_blank" rel="nofollow noopener">Publii Static CMS</a></p></div><button class="footer__bttop js-footer__bttop" aria-label="Back to top"><svg><title>Back to top</title><use xlink:href="https://totetmatt.github.io/assets/svg/svg-map.svg#toparrow"/></svg></button></footer></div><script>window.publiiThemeMenuConfig = {
mobileMenuMode: 'sidebar',
animationSpeed: 300,
submenuWidth: 'auto',
doubleClickTime: 500,
mobileMenuExpandableSubmenus: true,
relatedContainerForOverlayMenuSelector: '.top',
};</script><script defer="defer" src="https://totetmatt.github.io/assets/js/scripts.min.js?v=f4c4d35432d0e17d212f2fae4e0f8247"></script><script>var images = document.querySelectorAll('img[loading]');
for (var i = 0; i < images.length; i++) {
if (images[i].complete) {
images[i].classList.add('is-loaded');
} else {
images[i].addEventListener('load', function () {
this.classList.add('is-loaded');
}, false);
}
}</script></body></html>