Package Grin node for personal servers?

It might be a cool idea to add a Grin Node to the Umbrel app store.

I know many Bitcoiners are supportive of Grin already. This would give them an easy opportunity to get a taste of grin first hand.

I’m not sure if Umbrel is a bitcoin maximalist ecosystem or not. But who knows, maybe they would make an exception for Grin since it is decidedly not a scam coin.

There is also Start9.


This has also been in my line of thoughts:

Alternatively you have this Grin Pi project by @mcm-mike,

Anyone can run their own Grin server on a Raspberry Pi. However, it also makes sence to utilize the hardware for multiple crypto nodes like is the case with Umbrel. Since for the Grin Pi grin and grin-wallet are compiled for the Raspberry Pi, it should also work Umbrel I guess. It would be nice if someone tries this.

1 Like

Running a public node is easy. This is how you do it.

Connect to you instance via SSH. Make sure you’re root.
Execute the next command to download and install the node binary:

wget &&  tar -C /usr/local/bin -xzf grin-v5.1.2-linux-amd64.tar.gz --strip-components=1 && rm grin-v5.1.2-linux-amd64.tar.gz

In the future, replace v5.1.2 but right now this is the latest stable release.

Start the node by running the next command: grin. You will see a screen with information, this means everything is working fine. Now, press Q to quit.

Open the config file like this:

nano .grin/main/grin-server.toml

Set run_tui to false.

To add a service, create a file like this here: /etc/systemd/system/grinpp.service

Description=Grin Node Service



Start the service by running:

systemctl enable grin.service && systemctl start grin.service && systemctl status grin.service

Turn off your instance’s firewall: systemctl stop firewalld && systemctl disable firewalld (you probably will need to confirm the firewall rules with your VPS provider).

Query the node like this:

curl -s --user grin:$(cat ~/.grin/main/.api_secret)  -d '{"id":"1","method":"get_status","params":{}}' -o -

You will see something like:

  "id": "1",
  "result": {
    "Ok": {
      "connections": 15,
      "protocol_version": 1000,
      "sync_status": "no_sync",
      "tip": {
        "height": 1713718,
        "last_block_pushed": "000356384cbf78d8f4c718b0b21e172d02a7c6ff3899f5505e273987fe88e1dd",
        "prev_block_to_last": "00012454aa5b74ff72a90c918921a4cfbd193c8bf5ad42c8b93174121bdadd0e",
        "total_difficulty": 1924411298264920
      "user_agent": "MW/Grin 5.1.2"

Easy. An instance with 2GB of RAM should work.


I think Umbrel single handedly 10x’d the number of Bitcoin nodes being run just by making it so easy. One click install from their app store onto the Umbrel device.

How would you upgrade it? You stop, uninstall, and install the new version like it was new?

You could run

systemctl enable grin.service


wget$VERSION/grin-$VERSION-linux-amd64.tar.gz &&  tar -C /usr/local/bin -xzf grin-$VERSION-linux-amd64.tar.gz --strip-components=1 && rm -Rf grin-$VERSION-linux-amd64.tar.gz

Replace ZXY with the version you want to install. Then start the service again:

systemctl start grin.service

It should work.

1 Like

grin.service should be replaced by grinpp.service, nope ?

1 Like

oh yes, in this case yes, I copied and pasted the commands I used for deploying grin++ nodes.

good catch.

1 Like

or maybe open the port using these cmd :

sudo firewall-cmd --zone=public --permanent --add-port 3414/tcp
sudo firewall-cmd --reload