# Monero cryptocurrency node

**URL:** <https://forums.balena.io/t/monero-cryptocurrency-node/523>\
**Category:** Project help\
**Created:** [January 20, 2017, 6:38pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523 "2017-01-20T18:38:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [January 20, 2017, 6:38pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/1 "2017-01-20T18:38:01Z")

</div>

On the chat there was [a question last week](https://gitter.im/resin-io/chat?at=5878b09b300f220a66e1bef8) how to run a [Monero](https://getmonero.org/home) cryptocurrency node on a [resin.io](http://resin.io) device 💰. For my Hack Friday I’ve put together a basic setup for that. In general it’s a bad idea to run cryptocurrency software on these devices (as those usually really tax the hardware and wear it out, IMHO), but this seemed simpler, especially with no mining involved.

The main difficulty was that the stock Raspbian archives have too old boost for this project so need to compile that from scratch… Because of QEMU cross-compilation on the [resin.io](http://resin.io) builders, that still takes a little bit long, whether or not using multithreading (and on the builders you can use, I think 36x multithreading, but @jack might be able to confirm that, so can use `make -j 36` when available).

Other things needed for this application is adjusting the config to save its database on the persistent `/data` partition to keep it around for application restarts.

The code is available on Github:

[https://github.com/resin-io-playground/resin-monero-node](https://github.com/resin-io-playground/resin-monero-node)

There would be still things to do with this project, and pull requests are accepted! Though not sure how good idea the whole thing is in the first place. It’s not the _worst_ project I’ve put on [resin.io](http://resin.io) yet, but definitely not the most useful either. 😛

Anyone else deployed some kind of cryptocurrency application on a [resin.io](http://resin.io) device?

---

<div class="post-metadata">

**Author:** ![mccollam](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mccollam/32/88_2.png) [@mccollam](https://forums.balena.io/u/mccollam)\
**Post date:** [January 24, 2017, 2:03pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/2 "2017-01-24T14:03:01Z")

</div>

Oh cool! I hadn’t even heard of Monero before.

How well does this run on something like a Raspberry Pi? Is all the slowness in the compilation step or does the actual service run slowly as well?

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [January 24, 2017, 2:24pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/3 "2017-01-24T14:24:58Z")

</div>

It seems to run fine on the device, the data it downloads when updates the chain is about 900MB at the moment, manages it in not too long time as well. Connecting to it with the `monero-wallet-cli` is pretty quick and updates well, just don’t have any monero to try 😛 I guess as long as you are not running a mining node, and probably wouldn’t do that with the reference client anyways.

One thing is an issue, their systemd service is not perfect, have to figure out why the ports are blocked when the application is restarted, seems like the service is not really shut down. Work In Progress for sure 🚧

---

<div class="post-metadata">

**Author:** ![abelboldu](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/abelboldu/32/246_2.png) [@abelboldu](https://forums.balena.io/u/abelboldu)\
**Post date:** [January 26, 2017, 3:41pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/4 "2017-01-26T15:41:26Z")

</div>

@imrehg It’s great to see you’ve taken this working!

By the way, the blockchain data is roughly 18GB now, so at least 32GB is required (64GB desirable).

Also, as cryptocurrency is very sensible on security, I would like to raise some questions I had that blocked me on the first day.  
Monero node owners would like to have _full control_ of their nodes, that means nobody can even have the possibility to snoop on their transactions, that’s the benefit of running a home node instead of a public one, managed by others. That being said:

- Is [resin.io](http://resin.io) capable of SSH into the host (Resin OS)?
- The exposed port for monero is HTTP, that means transactions are not encrypted either. How can they be secured?

Even if those issues cannot be addressed at the moment, is a really cool way to deploy it indeed. Maybe a testnet version for developers would be useful 🙂

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [January 26, 2017, 6:56pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/5 "2017-01-26T18:56:32Z")

</div>

Thanks for the info, wow, my database was around 900MB, so maybe it was still downloading at that time, will re-run it again later with a bigger SD card out of curiosity (after fixing the restart issue, probably, because that’s more important)

Regarding your questions:

- by default, selected engineers can SSH into the host at the moment. This can be disabled, however, by removing or altering the contents of the `authorized_keys` file on host OS. You can burn the SD card, delete that file or add your own key in there and then we don’t have access to the device anymore. You can still have `resin ssh` into the container, which can be disabled by disabling the VPN (if I recall correctly), to lock your node down even further, while still having the ability to update the software remotely (which is initiated by the device, it’s a pull, so does not require device access). See more on the VPN settings in the [network config for low bandwidth access](https://docs.resin.io/runtime/bandwidth-reduction/) docs.
- securing the communication is probably not on the shoulders of [resin.io](http://resin.io), but how are you deploying the node, I think currently monerod trusts the local computer or the local network. Could possibly use [SSH port forwarding](https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding) + adding an SSH server into the container, with your known key deployed there (ie. node device runs SSH daemon on a port, your machine forwards a local port to that remote port, your wallet connecting to the local port). For the future, could also look at this thread on reddit if it’s still current state: [https://www.reddit.com/r/Monero/comments/4atg0d/monero\_rpc\_no\_password/](https://www.reddit.com/r/Monero/comments/4atg0d/monero_rpc_no_password/)

I’m guessing this would cover both of your changes for the moment 😉

---

<div class="post-metadata">

**Author:** ![TonyMark](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@TonyMark](https://forums.balena.io/u/TonyMark)\
**Post date:** [July 11, 2017, 12:52pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/6 "2017-07-11T12:52:46Z")

</div>

I don’t know about Monero cryptocurrency? Is it same as that of bitcoin, Please help me?

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [July 11, 2017, 2:18pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/7 "2017-07-11T14:18:25Z")

</div>

Hey, here’s the link to the Wikipedia entry of Monero [https://en.wikipedia.org/wiki/Monero\_(cryptocurrency)](https://en.wikipedia.org/wiki/Monero_(cryptocurrency)) Just to be clear, this is just an example project and proof of concept, not an entorsement of any cryptocurrency or such. 🙂

---

<div class="post-metadata">

**Author:** ![TonyMark](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@TonyMark](https://forums.balena.io/u/TonyMark)\
**Post date:** [July 22, 2017, 8:54am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/8 "2017-07-22T08:54:39Z")

</div>

MonetaVerde (MCN) was launched on January5, 2017 on the basis of Bytecoin, Cryptonight and Cryptonight Pow technologies. The uniqueness is that it allows creation of infinite coins.

---

<div class="post-metadata">

**Author:** ![TonyMark](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@TonyMark](https://forums.balena.io/u/TonyMark)\
**Post date:** [September 15, 2017, 7:03am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/9 "2017-09-15T07:03:16Z")

</div>

but if we can create infinite coins its value will be less right??  
less demand more supply = Less value…

---

<div class="post-metadata">

**Author:** ![bakerlisa510](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bakerlisa510](https://forums.balena.io/u/bakerlisa510)\
**Post date:** [September 18, 2017, 6:14am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/10 "2017-09-18T06:14:50Z")

</div>

> [@mccollam](#):
>
> Monero

When I was trying to set up some raspberry pi’s to mine Monero, I found it difficult with no guides or anything … What kind of results do you get with a Raspberry Pi 3? … It may work better there since you are running on a raspi

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [September 18, 2017, 7:51am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/11 "2017-09-18T07:51:20Z")

</div>

Hey @bakerlisa510, just pool mining (and not hosting a monero node), using [cpuminer-multi](https://github.com/imrehg/rpi-xmr-pool-miner), the average hash rate is about 7.5 Hash/s, so it’s not very effective. I was testing it deployed through this this [rpi-xmr-pool-miner](https://github.com/imrehg/rpi-xmr-pool-miner) project.

---

<div class="post-metadata">

**Author:** ![bakerlisa510](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bakerlisa510](https://forums.balena.io/u/bakerlisa510)\
**Post date:** [September 23, 2017, 6:38am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/12 "2017-09-23T06:38:04Z")

</div>

Thanks.

---

<div class="post-metadata">

**Author:** ![alfredbill](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@alfredbill](https://forums.balena.io/u/alfredbill)\
**Post date:** [May 15, 2018, 7:14am UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/13 "2018-05-15T07:14:34Z")

</div>

> [@TonyMark](#):
>
> but if we can create infinite coins its value will be less right??  
> less demand more supply = Less value…

With the emergence of Bitcoin and all the over 1,000 cryptocoins, financial transactions are being decentralized on a massive scale. These decentralized transactions have no recourse whatsoever to the US Dollar. This changes the dynamics of international trade, foreign relations, diplomacy, and the impact of economic sanctions. There have always been attempts to “de-dollarize” the global economy and [cryptocurrencies](http://net-informations.com/q/mis/crypto.html) seem to be a veritable means of achieving that goal.

---

<div class="post-metadata">

**Author:** ![balibebas](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/balibebas/32/981_2.png) [@balibebas](https://forums.balena.io/u/balibebas)\
**Post date:** [May 26, 2018, 4:34pm UTC](https://forums.balena.io/t/monero-cryptocurrency-node/523/14 "2018-05-26T16:34:03Z")

</div>

Hey that’s cool. Do you have a resinOS repo available for testing?

Regarding @TonyMark comment on supply of Monero, if it were limited I’m guessing it would be less private.

Also, here’s a [quick primer](https://hackcabin.com/post/take-flight-monero-cli-wallet/) for anyone looking to get started with Monero CLI.
