Posted on Leave a comment

Hodl Trading Bitcoin (español)

Hodl Bitcoin

Aunque podría ser, HODL no es el acrónimo de “Hold On for Dear Life”, el término tiene su origen en el 18 de diciembre del año 2013 en el foro de Bitcoin Talk cuando el usuario GameKyuubi escribe una entrada titulada “I AM HODLING” dudando sobre su naturaleza de trader y dejando constancia de su admiración por los que dicen que son capaces de predecir los movimientos en el precio del bitcoin. Esa errata tipográfica en la palabra HODLING donde baila las letras D y L se hizo rápidamente viral y perpetuo el término hodl. 

Un trader es la persona que opera en corto aprovechando lo que cree que son los mejores momentos para comprar y vender acciones o criptomonedas y así conseguir ganancias y mitigar pérdidas. En contraposición tendríamos al hodler que es quien opta por invertir en un activo digital comprando regularmente en el tiempo y almacenándolo a la espera de que se revalorice.

Al igual que GameKyuubi no creo que en el trading con bitcoins, es una buena forma de perder BTCs y donde se aplica la regla del 90-90-90, el 90% de los nuevos participantes pierden el 90% del dinero de su cuenta en un máximo de 90 días. 

El trading de bitcoins para los neófitos no funciona basta con comparar las recomendaciones de los supuestos expertos con el comportamiento posterior del mercado, no aciertan, tampoco funcionan los indicadores más utilizados de los análisis técnicos como medias móviles, RSI (Relative Strength Index), retroceso de fibonacci, bandas de Bandas Bollinger… En el mercado de Bitcoin las ballenas tienen mucho peso, son conocedoras de los análisis técnicos típicos que siguen los traders y les es muy fácil provocar tendencias en el corto plazo. Cada uno valorará pero el riesgo de pérdida con el trading en este mercado es alto.

En cambio la estrategia Hodl es sencilla y si funciona, hasta la fecha la tendencia en el precio del bitcoin ha sido alcista, existe una alta volatilidad en el corto plazo pero su trayectoria en el medio y largo plazo es claramente ascendente.

.

La compra de pequeñas cantidades de forma regular en un activo como bitcoin que es de alta volatilidad tiene la ventaja de acabar promediando el precio de compra. Unas veces la suerte estará contigo y te tocará adquirir los BTCs cuando el precio está bajo y otras por el contrario comprarás en el período ascendente, a la larga unas se compensarán con las otras y acabarás teniendo un precio medio de compra de tus BTCs. Esta forma de operar se denomina DCA (Dollar Cost Averaging Into Bitcoin) e igual que es muy recomendable para acumular BTCs no la considero igual de interesante de realizar con el Dollar o con el Euro ya que su valor disminuye con el tiempo.

Cuando por el contrario compras muy pocas veces pero una gran cantidad de bitcoins no tienes ese factor de promediado y estarás expuesto a la volatilidad del precio.

Plataformas Bitcoin P2P

Una forma habitual de hodlear es comprar semanalmente una cantidad razonable de acuerdo a tus ingresos y realizarlo en un sitio donde no te exijan identificarte es decir sin KYC (Know Your Client) para favorecer tu privacidad y tampoco tengan la custodia de tus bitcoins, la compra venta se hace entre particulares. Hay varios sitios donde se opera así como bisqhodlhodl… 

Exchange Bitcoin

Hay quien prefiere automatizar la compra y utiliza para la compra un exchange y la posibilidad que ofrecen de poder lanzar órdenes de compra periódicas. En estos casos lo recomendable desde el punto de vista de la seguridad y de la privacidad es una vez comprados enviarlos a una dirección nueva de una cartera que tenga la opción de realizar CoinJoin como por ejemplo Samourai wallet  y posteriormente enviarlos a una dirección generada en tu hardware wallet.

Hodl Trading Bitcoin

Por último y la más rentable desde el punto de vista económico es realizar la compra mediante una orden de trading aprovechando que históricamente la trayectoria del precio del bitcoin ha sido ascendente. Revisando el porcentaje de días en la historia de Bitcoin en los que comprar BTCs ha sido rentable para los inversores al precio actual, es de un 96.2%. 

En vez de comprar de forma directa regularmente se da de alta una orden de compra por un precio inferior, por ejemplo a un 95% de su precio actual, si en el periodo hasta la siguiente compra el precio de BTC baja por debajo de ese umbral la orden se ejecuta realizando la compra a un precio inferior del que hubiésemos comprado de forma directa si por el contrario no se ejecutó hacemos la compra al precio de mercado y ponemos la siguiente orden de compra. Además de la ventaja de haber comprado a un precio inferior tenemos que las órdenes de compra en los sitios de traders no tienen comisión y la compra inmediata a precio de mercado si.

Para aclarar la operativa pongamos un ejemplo, imaginemos que compramos BTC todos los lunes.

Precio BTC: 10000$

Limit Price: 9500$  (95% de Precio BTC)

Amount: 0.002  (20 / Precio BTC)

En el Trader

Si el lunes siguiente la orden de compra no se ha ejecutado tenemos que realizar la compra manual de los BTCs con los 20$ y además pondremos la siguiente orden de compra. 

El beneficio de la técnica Hodl Trading viene cuando se ejecuta la orden ya que en ese caso hemos comprado a un 5% más barato de lo que lo habríamos hecho si hubiésemos realizado la compra directamente.

Traducción de Hold Trading Bitcoin 

Posted on Leave a comment

Hodl Trading Bitcoin

Hodl Bitcoin

Although it could be, HODL is not the acronym for “Hold On for Dear Life”, the term has its origin in December 18, 2013 in the Bitcoin Talk forum when the user GameKyuubi writes an entry titled “I AM HODLING”doubting his nature as a trader and stating his admiration for those who say they are capable of predicting movements in the price of bitcoin. That typographical error in the word HODLING where the letters D and L dance quickly became viral and the term hodl perpetuated. 

A trader is the person who trades short taking advantage of what he believes are the best times to buy and sell stocks or cryptocurrencies and thus make profits and mitigate losses. In contrast we would have the hodler who is the one who chooses to invest in a digital asset buying regularly over time and storing it waiting for it to revalue.

Like GameKyuubi I do not believe that in bitcoin trading, it is a good way to lose BTCs and where the 90-90-90 rule applies, 90% of new participants lose 90% of the money in their account in a maximum of 90 days. 

Trading in bitcoins for neophytes does not work, it is enough to compare the recommendations of the supposed experts with the subsequent behavior of the market, they are wrong, neither do the most used indicators of technical analysis such as moving averages, RSI (Relative Strength Index), retracement. Fibonacci bands, Bollinger Bands … Whales carry a lot of weight in the Bitcoin market, they are knowledgeable about the typical technical analyzes that traders follow and it is very easy for them to provoke trends in the short term. Everyone will value but the risk of loss when trading in this market is high.

On the other hand, the Hodl strategy is simple and if it works, to date the trend in the price of bitcoin has been upward, there is high volatility in the short term but its trajectory in the medium and long term is clearly upward.

.

Buying small amounts on a regular basis in an asset like bitcoin that is highly volatile has the advantage of ending up averaging the purchase price. Sometimes luck will be with you and you will have to acquire the BTCs when the price is low and others on the contrary you will buy in the ascending period, in the long run some will be compensated with the others and you will end up having an average purchase price of your BTCs. This way of operating is called DCA (Dollar Cost Averaging Into Bitcoin) and just as it is highly recommended to accumulate BTCs, I do not consider it as interesting to do with the Dollar or with the Euro since its value decreases over time.

When, on the contrary, you buy very few times but a large amount of bitcoins you do not have that averaging factor and you will be exposed to price volatility.

Bitcoin P2P platforms

A common way to hodle is to buy a reasonable amount weekly according to your income and do it in a place where you are not required to identify yourself, that is, without KYC (Know Your Client) to favor your privacy and do not have custody of your bitcoins , the sale is made between individuals. There are several sites where it operates as well as bisqhodlhodl… 

Exchange Bitcoin

There are those who prefer to automate the purchase and use an exchange for the purchase and the possibility that they offer to launch periodic purchase orders. In these cases, it is advisable from the point of view of security and privacy is once purchased to send them to a new address of a wallet that has the option of making CoinJoin such as Samourai wallet  and then send them to an address generated in your hardware wallet.

Hodl Trading Bitcoin

Finally and the most profitable from the economic point of view is to make the purchase through a trading order, taking advantage of the fact that historically the trajectory of the price of bitcoin has been upward. Reviewing the percentage of days in the history of Bitcoin in which buying BTCs has been profitable for investors at the current price, it is 96.2%. 

Instead of buying directly, a purchase order is registered for a lower price, for example at 95% of its current price, if in the period until the next purchase the price of BTC falls below that threshold the order is executed by making the purchase at a lower price than we would have bought directly if, on the contrary, it was not executed, we make the purchase at the market price and place the next purchase order. In addition to the advantage of having bought at a lower price, we have that purchase orders on traders’ sites have no commission and immediate purchase at market price does.

To clarify the operation, let’s take an example, let’s imagine that we buy BTC every Monday.

BTC Price: $ 10,000

Limit Price: $ 9500 (95% of BTC Price)

Amount: 0.002 (20 / BTC Price)

In the Trader

If the following Monday the purchase order has not been executed we have to make the manual purchase of the BTCs with the $ 20 and we will also place the next purchase order. 

The benefit of the Hodl Trading technique comes when the order is executed since in that case we have bought at 5% cheaper than we would have done if we had made the purchase directly.

Posted on Leave a comment

Escuchando la red P2P de Bitcoin

Sniff Bitcoin Network

Por curiosidad vamos a escuchar el tráfico de red que hay entre mi full node y el resto de la red de Bitcoin. Como lo que me interesa es conocer los comandos de tráfico normal no ejecutaré ningún comando del protocolo y tendré el sniffer actuando hasta que se genere un bloque nuevo.

Para ello utilizaremos la herramienta tcpdump sobre el Bitcoin full node BCubium que nos permite capturar el tráfico de red sobre el puerto de comunicación en concreto. En nuestro caso como el nodo se está ejecutando Tor activaremos la escucha en el puerto 9050 y en el interfaz de red de loopback.

El comando a ejecutar es el siguiente:

tcpdump -i lo -s 65535 port 9050 -w /mnt/disk/tmp/BCubium_net_20200912.dump

Inspeccionamos el fichero generado con la utilidad Wireshark.

Nos encontramos los tipos de mensajes enviados: addr, getdata, headers, inv, ping, pong y tx.

addr

Proporciona información sobre los nodos conocidos de la red. Si los nodos no se anuncian se olvidan después de 3 horas.

inv

Permite a un nodo avisar de la existencia de uno o más objetos. Se puede recibir sin solicitarlo o en respuesta a un mensaje de tipo getblocks.

getdata

Se usa en respuesta a un mensaje inv para recuperar el contenido de un objeto específico. Por lo general, getdata se envía después de recibir el paquete inv, después de filtrar objetos conocidos. Se puede utilizar para recuperar transacciones.

headers

Este mensaje se envía en respuesta al mensaje getheader que devuelve los encabezados de bloque deseados.

ping

Mensaje para probar la vivacidad de la conexión TCP / IP. Se presupone que cualquier error de conexión es una conexión cerrada y la dirección se elimina como par actual.

pong

Mensaje de respuesta a un mensaje de ping por un nodo para demostrar su vivacidad en la red. 

tx

Describe una transacción de bitcoin, en respuesta a getdata.

version

Cuando un nodo crea una conexión saliente, inmediatamente anuncia su versión.

verack

El mensaje verack se envía en respuesta a la versión. Consta únicamente de un encabezado de mensaje con la cadena de comando “verack”.

Hay más información sobre el protocolo de Bitcoin en la página, Protocol documentation

Traducción del artículo Sniff the Bitcoin network

Posted on Leave a comment

Sniff the Bitcoin network

Sniff Bitcoin Network

Out of curiosity we are going to listen to the network traffic between my full node and the rest of the Bitcoin network. As what interests me is to know the normal traffic commands, I will not execute any protocol command and I will have the sniffer acting until a new block is generated.

For this we will use the tcpdump tool on the Bitcoin full node BCubium that allows us to capture the network traffic on the specific communication port. In our case, as the node is running Tor, we will activate listening on port 9050 and on the loopback network interface.

The command to execute is the following:

tcpdump -i lo -s 65535 port 9050 -w /mnt/disk/tmp/BCubium_net_20200912.dump 

We inspect the file generated with the Wireshark utility.

We find the types of messages sent: addr, getdata, headers, inv, ping, pong and tx.

addr

Provides information about known nodes on the network. If the nodes are not advertised they are forgotten after 3 hours.

inv

Allows a node to report the existence of one or more objects. It can be received without requesting it or in response to a getblocks type message.

getdata

Used in response to an inv message to retrieve the content of a specific object. Usually getdata is sent after receiving the inv packet, after filtering known objects. It can be used to retrieve transactions.

headers

This message is sent in response to the getheader message that returns the desired block headers.

ping

Message to test the liveliness of the TCP / IP connection. Any connection error is assumed to be a closed connection and the address is removed as the current pair.

pong

Response message to a ping message by a node to demonstrate its liveliness on the network. 

tx

Describes a bitcoin transaction, in response to getdata.

version

When a node creates an outbound connection, it immediately announces its version.

verack

Themessage is sent in response to the version. It consists only of a message header with the command string “verack”.

There is more information about the Bitcoin protocol on the page, Protocol documentation

Posted on Leave a comment

Transactions with the Coldcard hardware wallet

Cold Card

Recently I had to move the BTCs from the Coldcard hardware wallet to another destination, for this I had several options, one was to import the seed and passphrase it into another wallet such as Wasabi or Electrum as indicated in this post “Import verification of Coldcard seed and passphrase at Electrum and Wasabi” but in the end I preferred to send them using the transaction  PSBT (Partially Signed Bitcoin Transactions) that allows the operation of the shipment while maintaining the private keys off-line, that is, without being exposed to the Internet in no time.

In the Coldcard

  • Enter the two pins and make sure you have inserted the passphrase and applied it (APPLY) it is interesting to check the master key fingerprint
  • Export the file with the xPub (new-wallet.json)

MicroSD → Export Wallet → Electrum wallet → Native Segwit

In Electrum

  • Enter the MicroSD of the Coldcard
  • Import the file with the public master key. Open an Electrum wallet and load the file new-wallet.json 

File → Open → File      

  • Generate the PSTB transaction. 

In the Address tab choose the source address right mouse button → Spen from 

  • Save the generated psbt file to the microSD card

In the Coldcard

  • Make sure you have inserted the passphrase and applied it (APPLY) 
  • Enter the microSD with the file with the transaction PSBT
  • Sign the transaction

Ready to sign -> “Ok to send?” 

In Electrum

  • Enter the microSD with the signed PSBT transaction

Tools -> Load transaction -> from file

  • In the Send tab indicate the address that will receive the bitcoins and send
Posted on Leave a comment

BCubium hardware

BCubium Board

Hardware

  • CPU: Allwinner H5,Quad-core 64-bit high-performance Cortex A53
  • DDR3 RAM:1GB
  • Storage: 8GB eMMC
  • Network: Gbps Ethernet
  • WiFi: 802.11b/g/n
  • Bluetooth: 4.0 dual mode
  • USB Host: 2 x Independent USB Host
  • MicroSD Slot: 1 x Slot. It supports system booting or is used to hold a storage card
  • Audio Input/Output: 4-Pin, 2.54mm pitch pin-header
  • MicroUSB: power input
  • Debug Serial: 4Pin, 2.54mm pitch pin-header
  • GPIO1:24Pin, 2.54mm pitch double-row pin-header containing UART, SPI, I2C and IO
  • GPIO2:12Pin, 2.54mm pitch pin-header containing USB, IR receiver,I2S and IO
  • Power Supply: DC 5V/2A
  • PCB Dimension: 40 x 52mm
  • PCB Layer: 6-Layer

And

  • BCubium Box 
  • Motherboard NanoPi NEO Plus2
  • 500GB microSSD
  • Power supply (with worldwide connectors)
  • Network Cable
Posted on Leave a comment

Generate private keys in Bitcoin safely and cheaply

private public keys

I had started writing this post when diving online I have come across several pages of bitcoiners who had already written about the generation of keys using Ian Coleman’s BIP39 tool plus the Tails system, so I will limit myself to putting the links already specify the steps roughly.

Resources

Operational

  1. Download Tails, verify the signature and copy it to a USB. We downloaded version 4.7
wget https://mirrors.ukfast.co.uk/sites/tails.boum.org/tails/stable/tails-amd64-4.7/tails-amd64-4.7.img

Check the image

https://tails.boum.org/install/linux/usb-download/index.en.html#command-line

Copy the image

dd if=tails-amd64-4.7.img of=/dev/sda bs=16M oflag=direct status=progress
  1. Start the computer from the Tails USB and configure Internet access.
  2. Download the bip39-standalone.html file from https://github.com/iancoleman/bip39/releases

For version 0.4.3 the command would be this:

wget https://github.com/iancoleman/bip39/releases/download/0.4.3/bip39-standalone.html -O /home/amnesia/Tor\ Browser\bip39-standalone.html
  1. Remove the Internet connection from Tails.
  2. Run bip39-standalone.html from Tor-browser. 
tor-browser /home/amnesia/Tor\ Browser\bip39-standalone.html
  1. On the page loaded in the browser generate the 24 words. Entropy can be added for greater security.
  2. Generate the passphrase with 6 random words from the Long Diceware Wordlist 

Save in a safe place

  • The list of the 24 words of the seed → My recommendation is to do it on one or more metal plates. References Metal Bitcoin Seed Storage Reviews could also be worth a simple stainless steel sheet .
  • The 6 words of the passphrase → Store them on one or more metal plates, different from the previous ones. We want to store the seed and the passphrase in different places.
  • Derived Addresses → These are our public addresses where we will have to enter the funds.
  • BIP32 Derivation Path → This value may be useful in the future when wanting to retrieve private keys in a wallet.
  • Account Extended Public Key → Key from which we can extract all our public keys.
  • BIP32 Extended Public Key (XPUB) → Key in BIP32 format to extract all our public keys.
Posted on Leave a comment

Generar claves privadas en Bitcoin de forma segura y barata

private public keys

Había empezado a escribir este post cuando buceando por Internet me he topado con varias páginas de bitcoiners que ya habían escrito sobre la generación de claves utilizando la herramienta BIP39 de Ian Coleman más el sistema Tails, así que me voy a limitar a poner los enlaces y a especificar los pasos a grandes rasgos.

Recursos

Operativa

  1. Descargar Tails, verificar la firma y copiarlo en un USB. Descargamos la versión 4.7
wget https://mirrors.ukfast.co.uk/sites/tails.boum.org/tails/stable/tails-amd64-4.7/tails-amd64-4.7.img

Verificar la imagen

https://tails.boum.org/install/linux/usb-download/index.en.html#command-line

Copiar la imagen

dd if=tails-amd64-4.7.img of=/dev/sda bs=16M oflag=direct status=progress
  1. Arrancar el ordenador desde el USB de Tails y configurar el acceso a Internet.
  1. Descargar el fichero bip39-standalone.html de https://github.com/iancoleman/bip39/releases

Para la versión 0.4.3 el comando sería este:

wget https://github.com/iancoleman/bip39/releases/download/0.4.3/bip39-standalone.html -O /home/amnesia/Tor\ Browser\bip39-standalone.html
  1. Eliminar la conexión a Internet de Tails.
  1. Ejecutar bip39-standalone.html desde Tor-browser. 
tor-browser /home/amnesia/Tor\ Browser\bip39-standalone.html
  1. En la página cargada en el navegador generar las 24 palabras. Se puede añadir entropía para tener una mayor seguridad.
  1. Generar la passphrase con 6 palabras aleatorias de la lista Long Diceware Wordlist 

Salvar en sitio seguro

  • La lista de las 24 palabras de la semilla → Mi recomendación es hacerlo en una o varias placas de metal. Referencias Metal Bitcoin Seed Storage Reviews también podría valer una simple chapa de acero inoxidable.
  • Las 6 palabras de la passphrase → Guardarlas en una o varias placas de metal, distintas de las anteriores queremos almacenar la semilla y la passphrase en sitios distintos.
  • Derived Addresses → Son nuestras direcciones públicas donde tendremos que ingresar los fondos.
  • BIP32 Derivation Path → Este valor puede ser útil en un futuro al querer recuperar las claves privadas en un wallet.
  • Account Extended Public Key → Clave a partir de la cual podemos extraer todas nuestras claves públicas.
  • BIP32 Extended Public Key (XPUB) → Clave en formato BIP32 para extraer todas nuestras claves públicas.

El artículo en traducido al Inglés está en “Generate private keys in Bitcoin safely and cheaply

Posted on Leave a comment

Import verification of Coldcard seed and passphrase at Electrum and Wasabi

Wallet Bitcoin

Before providing funds to our hardware wallet Coldcard (CC) It is important to make sure that in the future whatever happens we will be able to recover them.

Over the years many situations can arise whereby we find ourselves in the position of having to recover these funds without having the hardware wallet (hww), such as losing it or it being damaged and not being manufactured anymore, either because that model does not exist or because the company has closed. To this day we do not know which companies will exist and which will not exist in 10 years, and although it was still alive, technology evolves very quickly and within a few years devices that are now in common use may not be available, such as microSD memory cards, microUSB connectors, internal battery… 

Therefore it is vitally important to verify that we are going to be able to access the private keys that our hww handles. In this post we will test to recover these private keys from the CC addresses in other wallets from the generated seed and the passphrase that we have put.

There is documentation on this on the Coldcard website on how to carry out this operation, but I think that this is well worth a practical exercise to verify that this is the case. There is also apage walletsrecovery. where they give very valuable information about the compatibility between the different wallets.

  • Turn on the Coldcard, for this we connect it to an external USB charger or an adapter connected to a socket, never charge it with the USB connector of the computer we must keep the Coldcard always offline.
  • Put the prepin and the pin, you have to write it down because the device will request it whenever you turn it on. Do not save them on any digital medium or on the Internet, you have to minimize the risks.
  • Updating the firmware is optional but recommended, we will not go into it.
  • Create the wallet

Option: New Wallet

  • Add the passphrase and write it down because it is not saved in the hww. Important, it must be entered every time the Coldcard is started and you want to operate with these addresses.

Option: Passphrase → Edit Phrase → APPLY → OK

When you start the HWW it will not warn you that you have to enter it and the menus they have do not help but if you forget to enter it you will end up operating with other different Bitcoin addresses.

Option: Passphrase → A very long explanatory text but that is important because it indicates the problem of not entering it → Edit Phrase, It is not the best text for this option since what you have to do is enter your Passphrase and not edit it and then → APPLY → OK

When choosing the passphrase it is important that it is very difficult to discover on this page “Can BIP-39 passphrase be cracked?” they tell you how secure your password is.

  • Visualize your identity. 

Option: Advanced → View Identity to ensure that everything has been done correctly, we can check the fingerprint and that the text “BIP30 passphrase is in effect” appears to ensure that we are working with our passphrase.

  • Enter a microSD and export master public key (xpub) for the Electrum wallets and Wasabi which is where in the future we could import them.

Option:

microSD → Export Wallet → Electrum wallet -> Native Segwit

microSD → Export Wallet → Wasabi wallet

  • Saving addresses on the microSD card.

Option: Advanced -> Address Explorer -> 4 -> Select format (1b…) 1 

Generate a file addresses.txt in the microSD with 256 addresses.

  • Import the xpub in the Electrum wallet. 

It is recommended to run it within a Tails and not connect it to the Internet, it is not necessary for what we are going to do.

Take out the microSD card and connect it to the computer where we have installed the Electrum and Wasabi wallets.

  • Now we are going to create a wallet in Electrum with the same seed and passphrase that we have introduced in Coldcard.

Option: File → New / Restore

We choose the Standard Wallet option

We open the file addresses.txt exported from the CC to verify that the addresses shown by Electrum and those of Coldcard are the same.

Now we will perform the same check on the wasabi wallet.

  • We retrieve in Wasabi the wallet

It is not necessary and it is recommended for this exercise not to have the Wasabi connected to the Internet.

Option: Recover Wallet and introduce the seed and the passphrase

  • We load the Wallet

Option: Load Wallet

In the info of the wallet explorer we can verify that the Extended Master Fingerprint that shows wasabi matches the one that appears in Coldcard

  • Generate some addresses

Option : Recive 

When you restart wasabi it already shows the addresses

AND they actually match.

If initially only the Public Key appeared and not the address, we could perform the conversion to check that they are the same.

Address and Public Key at Electrum.

With this we have verified that from the Coldcard seed and passphrase we can recover the private keys in another wallet.

To summarize what we have to save to ensure recovery would be: 

  • The seed
  • The passphrase 
  • The type of address that we used in our case Native SegWit (bech32) which is the only one compatible with wasabi
  • The derivation paths “m / 84 ‘ / 0 ‘/ 0’ / 0 / XXXX ” 
  • It is recommended to also save an image of the Operating System together with the software used by Electrum and Wasabi. 

Another possible option for recovering private keys from seed and passphrase is to use the iancoleman bip39 web tool that has a downloadable version and works offline.

Posted on Leave a comment

Bitcoin Core update script to version 0.20.0

The Script executed BCubium the BGeometrics full node Bitcoin to update the Bitcoin Core software to the new version 0.20.0

#/bin/bash

VERSION=0.20.0
PATH_BITCOIN=/var/lib/bitcoin
PATH_BITCOIN_INSTALL=/usr/bin
USER_BITCOIN=bitcoin
PROCESS_DEP_BITCOIN="bitcoind lnd rtl btc-rpc-explorer"

if [ -n "$1" ]; then
    VERSION=$1
fi

systemctl stop $PROCESS_DEP_BITCOIN
su -c "wget https://bitnodes.io/install-full-node.sh" $USER_BITCOIN
su -c "sed -i "s/VERSION=.*/VERSION=$VERSION/g" install-full-node.sh" $USER_BITCOIN
su -c "bash install-full-node.sh" $USER_BITCOIN
su -c "$PATH_BITCOIN/bitcoin-core/bin/stop.sh" $USER_BITCOIN
install -m 0755 -o root -g root -t $PATH_BITCOIN_INSTALL $PATH_BITCOIN/bitcoin-core/bin/bitcoin*
systemctl start $PROCESS_DEP_BITCOIN
rm -fr $PATH_BITCOIN/bitcoin-core/
rm -f install-full-node.sh
$PATH_BITCOIN_INSTALL/bitcoind --version | grep version

In Github: bitcoin-core_update.sh