bitcoin bitvavo

OFFLINE BITCOIN TRANSACTIONS

Feb 7, 2019
Aanbieding: 

Hoe kan ik zonder internet offline bitcoin transacties uitzenden en verwerken? Bitcoin zonder internet?

Er zijn verschillende methodes om Bitcoin transacties onafhankelijk te maken van het internet. Er zijn al testen geweest met radio golven en er is al technologie om Bitcoin transacties via een mesh netwerk te verzenden. De ontwikkelaars van de Samourai Wallet hebben dit voor elkaar gekregen met goTenna. Ze hebben een TxTenna ontwikkeld waardoor het versturen van bitcointransacties mogelijk is zonder een directe internetverbinding. Verder is de OpenDime een alternatieve manier om zonder internet bitcoins te kunnen gebruiken als een betalingsmethode.

bitcoin zonder internet

Niettemin, de belangrijkste doorslaggevende methode om Bitcoin internet onafhankelijk te maken is door gebruik te maken van een satelliet. Dankzij de lancering en activering van Blockstream Satellite project is het mogelijk Bitcoin transacties zonder internet te verwezenlijken. Dit is vooral handig in gebieden die niet over internet beschikken of daar waar een snelle internetverbinding te duur is. Het versturen van Bitcoin transacties via een satellietverbinding kan veel goedkoper zijn. Via een goedkope setup kan iedereen waar dan ook op de wereld een deel worden van het Bitcoin netwerk zonder internet. Het is mogelijk om zonder vertrouwen en derde partijen Bitcoin transactieblokken te verifiëren en te verwerken.

Hier is een complete gids van Grubles die je kunt volgen om offline bitcoin transacties te verrichten met behulp van de satellieten van Blockstream:

With the Satellite API, those same areas can now receive arbitrary data — current market data, private messages, and data from exciting new use cases not thought of yet. All free. The broadcasts are free and the software is free with code available for auditing and improvement by the community.

For the first time, most of the planet’s population can receive bitcoin using their own fully validating nodes without expensive data plans. But how do they send bitcoin? There are a few cheap and accessible ways to do so. Transactions can be broadcasted via SMS, by mesh networking devices, and even sneakernet (simply transporting the signed raw transaction data on a flash drive or printed QR code).

GoTenna sells a simple to use mesh networking device, which along with a piece of software called TxTenna can broadcast Bitcoin transactions to a local mesh network of GoTennas. There is also growing interest and work being done on LoRaWAN — a similar mesh networking technology.

With this hardware setup, anyone can send and receive bitcoin without an internet connection. It’s resistant to network outages and can also maintain uptime through power outages since all of the hardware is run off batteries. The hardware can of course be run off of gasoline generators or solar panels if the power outage is longer lasting.


In this tutorial we will be using the following:

Hardware:

  • Blockstream Satellite Receiver
  • GoTenna Mesh
  • Android device (I used a cheap $30 Coolpad)
  • A hardware wallet (optional)

Software:

  • Linux (Ubuntu 18.04 used here)
  • Electrum Personal Server
  • Electrum Wallet
  • qrencode (simply sudo apt install qrencode) to generate QR codes
  • TxTenna smartphone app

Going Offline 🛰

To start, a Blockstream Satellite Receiver is required for passively receiving Bitcoin data without an internet connection. There is comprehensive documentation here, along with the guide I wrote a couple years ago:Building Your Own Bitcoin Satellite Node
A layman’s guidehackernoon.com


Electrum

Once the satellite receiver is setup, you can begin to install Electrum Personal Server and Electrum Wallet:chris-belcher/electrum-personal-server
Maximally lightweight electrum server for a single user – chris-belcher/electrum-personal-servergithub.com
spesmilo/electrum
Electrum; Bitcoin thin client. Contribute to spesmilo/electrum development by creating an account on GitHub.github.com


Initializing a Hardware Wallet

If you want to use a hardware wallet, Electrum supports most of the popular offerings: Trezor, Ledger, Coldcard, and possibly even OpenDIME.

For this tutorial / demo, I used a Trezor Model T.

My aptly named Trezor

Trezor’s blog has a great tutorial for initializing a hardware wallet here:

https://blog.trezor.io/using-trezor-with-electrum-v3-a0b9bcffe26e

Now you should have a completely off-the-grid Bitcoin node and wallet; capable of receiving BTC and validating blocks. 🛰


Outbound Transaction Broadcasting

Now we want to spend some of our BTC. With available tools and software, we can broadcast a signed raw transaction via a local mesh network.

GoTennas have a range of up to 4 miles depending on your local geography and “density” — forested areas or urban areas with buildings will reduce the range of the GoTenna. There are ways to modify the GoTenna to attach external antennas for longer range communications. Note that you can broadcast transactions multiple times if you don’t succeed the first time. You could also always save the raw transaction onto your mobile device and carry it to a location where you’re within range, or fall back to broadcasting via SMS.

Combining GoTenna hardware with a piece of software called TxTenna enables Bitcoin transaction broadcasting and relaying without cellular network nor WiFi connectivity. TxTenna also supports transaction relay via SMS.

Simply download the TxTenna app on your Android smartphone using Google Play or other means, and pair your GoTenna with Bluetooth.


Signing Bitcoin Transactions Prior To Broadcasting

Using Electrum Wallet, Bitcoin transactions can be signed with a hardware wallet device and saved locally to be converted into a QR code. To do so, sign the Bitcoin transaction with Electrum like you normally would, but don’t broadcast it with Electrum.

This transaction is spending BTC to an address broadcasted globally via Blockstream Satellite by the anonymous “Post Soviet”:

Transaction ready to be signed by a hardware wallet

Sign the transaction.

Confirm sending

Once signed, you can click “Copy” at the bottom left of the Electrum UI to copy the raw transaction hex in order to generate a QR code.

Click “Copy”

Now generate a QR code with the following command:

$ qrencode <paste raw tx data here> -o signedtx.png

Then display it with your GUI:

$ display signedtx.png

Now you’re set to scan the QR code with the TxTenna app and broadcast it to your local mesh network where it will eventually make its way to the TxTenna API endpoint.

Scan the QR code with TxTenna and broadcast it via GoTenna Mesh:

The transaction is now broadcasted to the mesh network!

Once the transaction is included in a block, your offline satnode will display the transaction in Electrum Wallet.

Confirmed!

To clarify what just happened:

I run a Blockstream Satellite Receiver which receives Bitcoin data and arbitrary data broadcasted by the Satellite API. An anonymous person in some undisclosed location broadcasted a journal and BTC address.

Using their BTC address, I generated an offline transaction with my satnode, signed it with a hardware wallet, and finally broadcasted it outbound to my local mesh network. The transaction was included in a block, beamed down from space, and my satnode verified the data. Electrum Wallet displayed the transaction as confirmed!

No expensive internet subscription required. 🏄‍♂️

Thanks for reading!

-grubles

BRON

Lees verder

Nexo Review, wat zijn de voor- en nadelen van Nexo? Is het een veilige exchange?

De nieuwe Nexo Review van 2024 van de redactie van bestebank.org. Samenvatting: de Nexo exchange is van oudsher bekend van voornamelijk de bitcoin en crypto lending mogelijkheden die het platform biedt. Nexo biedt een goede en overzichtelijke exchange met een hoog handelsvolume en een diepe liquiditeit. De exchange draait alweer mee sinds 2018. Daarnaast biedt […]

Apr 19, 2024
9 min

Het Bitcoin Runes protocol wordt gelanceerd tijdens de halving, wat is Bitcoin Runes?

Bitcoin Runes komt er aan? Ja, over iets meer dan 2 dagen is het zo ver: een nieuwe Bitcoin halving, hier tel je mee af met de Bitcoin halving countdown clock : ). Tijdens de Bitcoin halving worden de block rewards gehalveerd (halving) en wordt het principe van Bitcoin deflatie verder uitgevoerd. Niet alleen zal […]

Apr 17, 2024
3,5 min

“Climate: The Movie” – CO2 veroorzaakte klimaatverandering heeft geen wetenschappelijke basis

“Climate: The Movie” is een nieuwe spraakmakende documentaire van de Britse filmmaker Martin Durkin. De film betoogt dat de bewering van een door CO2 veroorzaakte klimaatverandering een angstverhaal is zonder wetenschappelijke basis. De film, getiteld “Climate: The Movie”, stelt dat de wetenschap en officiële metingen de beweringen over toenemende extreme weersomstandigheden niet ondersteunen. De documentaire […]

Apr 16, 2024
4 min