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
moeda de Bitcoin ao lado de letreiro com ETF

Estado dos EUA investe R$ 510 milhões em ETF de Bitcoin da BlackRock

O investimento foi confirmado hoje pelo Conselho de Investimentos do Estado de Wisconsin (SWIB)
Sob um banco de madeira três criptomoedas ao lado de um celular com logo do Nubank

Nubank libera envio e recebimento de criptomoedas de carteiras externas

Já estão disponíveis para essas transações Bitcoin, Ethereum e Solana; outras moedas e redes serão adicionadas em breve
Moeda do Bitcoin envolta por raios (Lightning Network)

Lightning Labs está trazendo stablecoins para a blockchain do Bitcoin

“Ideia é ter dólares criptografados e stablecoins na blockchain do Bitcoin”, explicou Elizabeth Stark, CEO da Lightning Labs
Anic de Almeida Peixoto Herdy é casada com herdeiro da Unigranrio

Herdeira é sequestrada em Petrópolis e criminosos exigem resgate em Bitcoin

Técnico de informática amigo do casal conversou com sequestradores por entender de criptomoedas e foi preso por suspeita de envolvimento