Imagem da matéria: Brazilian teaches how to run a full Bitcoin node on an Android smartphone | Tutorial
Android running a Bitcoin full node

Running a full Bitcoin Node — a full copy of the world’s most important blockchain — can be way simpler than most people think, as proved by Brazilian bitcoiner Ricardo Reis.

On Twitter, he showed how it is possible to help strengthen the security of the Bitcoin network and run a full node with a Samsung J9 running an Android operating system, which he bought secondhand for R$ 350 (or US$64).

Publicidade

The phone is tasked with running Bitcoin’s software. The device can be replaced by a tablet, computer or Raspberry Pi.

While other devices can be used in this experiment, Reis recommends Samsung devices with DeX technology, because these models can detect the external drive and keep charging the mobile phone at the same time.

Bitcoin nodes are computers that run Bitcoin software and are connected to the Bitcoin network. Bitcoin nodes validate, broadcast, process and store bitcoin transactions.

There are different Bitcoin nodes, such as “mining nodes” (used by miners) and “light nodes” (that run a lightweight version of the blockchain), but the example mentioned here involves a “full node”.

Publicidade

Besides needing a device to run the software, you will also depend on an external storage drive (such as a HD or SSD) with enough capacity to store blockchain data, besides having a USB hub type-C for charging your phone while it is connected to the drive.

As explained by Reis in his full tutorial, you must have a 1 TB HD with USB connection to run a full node.

Tutorial: Running a full Bitcoin node

With the three devices at hand, Reis describes the steps that must be followed to run a full Bitcoin node.

1. Setting up

The first step is the setup: Connect the hard drive and the charging cable on the USB hub and then connect your phone. Keep the charging cable plugged in so that the phone does not turn off during the process.

Publicidade
HD and the charging cable must be connected to the mobile phone through a USB hub (Source: Ricardo Reis)

2. Formatting the hard drive

After the phone detects that the external hard drive is connected to the device, now it is the moment to format it. In the file manager, find the storage drive and format the external drive.

If the hard drive is not detected, it is possible to format it through the phone configurations: Device care > Storage > Advanced > SD Card > Format.

3. Installing Termux

You must install Termux, a Linux terminal emulator for Android. It will provide the emulation environment for Ubuntu Linux, which is necessary to install the Bitcoin Core software.

4. Installing Ubuntu on Termux

After installing Termux on the phone, you must install Ubuntu on the emulator. All you have to do is copy and paste the code below on Termux and execute it:

pkg upgrade && termux-setup-storage && curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/repo-fix.sh > repo.sh && chmod +x repo.sh && bash repo.sh && pkg update -y && pkg install wget curl proot tar -y && wget https://bitbrasil.com.br/sh/ubuntu20.sh -O ubuntu20.sh && chmod +x ubuntu20.sh && bash ubuntu20.sh

Publicidade

5. Installing Bitcoin Core

In the same way that Ubuntu was installed on Termux, install Bitcoin Core on Ubuntu by copying and pasting the following command and executing it on Termux. This code will install the Bitcoin software on the mobile phone and store the blockchain data on the external drive.

apt-get update && apt-get upgrade -y && apt install curl -y && curl https://bitbrasil.com.br/sh/install-full-node.sh | sh

Following all the steps above, the installation will be concluded and you will be able to run a full Bitcoin node on your phone.

There are many commands to run the Bitcoin software: debug-btc (to view the Bitcoin Core log file), start-btc (to initiate Bitcoin Core), stop-btc (to stop the software), among others.

On the video below, Ricardo Reis shows the steps on how to install and run a full Bitcoin node on a mobile phone:

*Translated from Brazilian-Portuguese by Daniela Pereira do Nascimento.

VOCÊ PODE GOSTAR
Imagem da matéria: Manhã Cripto: Bitcoin flerta com US$ 92 mil em dia de estreia de opções do ETF da BlackRock

Manhã Cripto: Bitcoin flerta com US$ 92 mil em dia de estreia de opções do ETF da BlackRock

A Nasdaq deve liberar nesta terça-feira a negociação de opções do ETF de Bitcoin da BlackRock
bitcoin

Manhã Cripto: Bitcoin atinge US$ 90 mil em corretoras, mas logo recua para US$ 87 mil

O Bitcoin foi brevemente negociado a US$ 90.100 na Coinbase noite passada, antes de voltar a cair para o patamar atual
microstrategy e moeda de bitcoin

MicroStrategy compra mais 27 mil bitcoins e reservas de BTC sobem para US$ 23 bilhões

Novo relatório da empresa de Michael Saylor revela carteira com 279.420 bitcoins, com lucro atual de US$ 11,1 bilhões
imagem de moeda de bitcoin com luz verde

Bitcoin atinge US$ 93,4 mil e renova máxima histórica

O recorde ocorreu por volta do meio-dia após uma valorização de 5,1% do Bitcoin