# My First Sketch: Watch live bitcoin transactions

**URL:** <https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316>\
**Category:** Gallery\
**Created:** [November 7, 2018, 1:40pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316 "2018-11-07T13:40:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![inersha](https://avatars.discourse-cdn.com/v4/letter/i/c89c15/32.png) [@inersha](https://discourse.processing.org/u/inersha)\
**Post date:** [November 7, 2018, 1:40pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316/1 "2018-11-07T13:40:10Z")

</div>

Hello everyone,

This is my first p5.js sketch. It shows all the **latest bitcoin transactions** as raindrops:

**bitcoinrain[dot]io**

If you _click_ on it you can see the current size of the memory pool (where new bitcoin transactions on the network are held). It will also show new blocks when they get mined (roughly every 10 minutes).

I’m new to creating sketches, so I’m interested in any ideas for improvement. I hoping that it’s interesting or useful, even if you’re not familiar with how bitcoin works.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [November 10, 2018, 11:19pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316/2 "2018-11-10T23:19:38Z")

</div>

It looks like an interesting concept! However, right now the site says:

> “Couldn’t connect to live transaction stream”

I have to admit, the idea of a processing-intensive website about bitcoin mining did make me nervous on first impression – my first thought was wondering if the site was going to attempt to have me mine bitcoin for it via JavaScript. 😅

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 10, 2018, 11:52pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316/3 "2018-11-10T23:52:28Z")

</div>

Same here 😅 but still tried it in the end. Didn‘t really do anything for the first 13 minutes until a Block was created apparently and the money/s field updated.

---

<div class="post-metadata">

**Author:** ![inersha](https://avatars.discourse-cdn.com/v4/letter/i/c89c15/32.png) [@inersha](https://discourse.processing.org/u/inersha)\
**Post date:** [November 12, 2018, 3:16pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316/4 "2018-11-12T15:16:31Z")

</div>

Hi Both,

Sorry about that. The server went down over the weekend whilst I was away, so you couldn’t see the full animation.

It’s back up and running now, so (hopefully) you can see it this time.

Sorry again about that. I’m currently working on making the server more robust for the future.

Greg.

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 12, 2018, 4:53pm UTC](https://discourse.processing.org/t/my-first-sketch-watch-live-bitcoin-transactions/5316/5 "2018-11-12T16:53:48Z")

</div>

Ah ok 😅 Well, that explains it. Was wondering why nothing was raining down 😊
