Search content
Sort by

Showing 6 of 6 results by marcosadelacruz
Post
Topic
Board Project Development
Merits 3 from 2 users
Topic OP
Prototype Sending Bitcoin NO INTERNET
by
marcosadelacruz
on 13/07/2025, 17:42:26 UTC
⭐ Merited by TryNinja (2) ,dkbit98 (1)
Prototype: Sending Bitcoin Transactions via SMS using Raspberry Pi Relay Node

For the past months, I’ve been working on a functional prototype that allows sending BTC without an internet connection, using SMS and a Raspberry Pi. This solution could help in remote areas, blackouts, or censorship scenarios where data access is unavailable.

Objective

Build and test a working system to:
  • Send BTC payment instructions via SMS from a basic phone or offline smartphone
  • Use a Raspberry Pi relay node to process, sign, and broadcast the transaction
  • Ensure basic security and confirmation via SMS
  • Avoid dependency on internet-enabled mobile devices or UI interfaces

System Architecture

Sender Device (basic phone or smartphone without internet):  
Sends a structured SMS:  
Code:
ENVIAR 0.0015 BTC A bc1qnxtsp0ew8vpkgt2u2k9ssy6s5mky8cqnzzpl6s PIN 1984

Relay Node (Raspberry Pi):  
  • Receives the SMS via a GSM modem
  • Parses and validates the message using a custom Python script
  • Uses Electrum CLI to sign and broadcast the transaction
  • Returns the TXID via SMS for confirmation

Technical Summary

Hardware:  
  • Raspberry Pi 4B (with Raspbian OS)
  • GSM modem (e.g. Huawei E303, SIM800L)
  • Active SIM card (Claro / Altice)
  • Internet access via Wi-Fi or 5G dongle

Software:  
  • Python 3
  • gammu / python-gammu
  • Electrum CLI (v4.4.6+)
  • Custom Python script to manage parsing, validation, and signing

Key Benefits

This system works even with basic mobile phones and doesn’t require mobile data or a smartphone. It’s low-cost, easy to build, and I’ve personally tested it in real conditions. It provides a working method for sending BTC when other communication methods fail, using only SMS and a small computer.

Limitations

The private key is stored in a single node, which means if the Raspberry Pi is compromised, the funds could be stolen. The system also depends on GSM signal quality, so poor coverage will interrupt service. Each SMS has a cost, and if many transactions are done, it can become expensive. Inputting amounts and addresses manually increases the chance of human error. There’s no support yet for multisig or PIN validation per user. Fee estimation is basic, and UTXO handling is not optimized. The relay node must stay powered and online at all times.

Python Script (Prototype)
Code: (python)
import gammu, subprocess, re
sm = gammu.StateMachine(); sm.ReadConfig(); sm.Init()
msgs = sm.GetNextSMS(Start=True, Folder=0)

for msg in msgs:
    if msg["Number"] != "+1XXXXXXXXXX": continue
    match = re.match(r"ENVIAR ([0-9.]+) BTC A (\w+) PIN (\d+)", msg["Text"])
    if match and match.group(3) == "1984":
        monto, direccion = match.group(1), match.group(2)
        cmd = f"electrum --wallet wallet_sms payto {direccion} {monto} --broadcast --password TU_PASS"
        txid = subprocess.check_output(cmd.split()).decode().strip()
        sm.SendSMS({'Text': f'TX enviada: {txid}', 'SMSC': {'Location': 1}, 'Number': msg["Number"]})

In Dominican Republic or wordwide, imagine that during a political or social crisis, the authorities decide to restrict or control internet access to limit citizen organization and the flow of information. These measures can affect digital financial services, leaving many people unable to send or receive money through common electronic means. In this situation, sending Bitcoin  via SMS using a Raspberry Pi relay node can be a viable solution to maintain the flow of funds. Anyone with a basic phone can send simple instructions via SMS to make secure payments or transfers, without needing direct internet connection. This type of technology will become increasingly necessary in the future, not only for crisis situations but also to guarantee financial freedom and resistance to censorship. That’s why I believe it’s important to start learning and sharing these tools now. This is my contribution to the community so that together we build more resilient and accessible systems.

Post
Topic
Board Development & Technical Discussion
Re: (Ordinals) BRC-20 needs to be removed
by
marcosadelacruz
on 21/04/2024, 18:02:38 UTC
I have been thinking a lot about this topic these days, but we must keep the following in mind:

Risks:

- Protocol complexity: Adding tokens and smart contracts introduces extra complexity to Bitcoin's protocol. This could expand the attack surface and raise the likelihood of vulnerabilities that might compromise the network's security and stability.
- Potential implementation errors: Whenever new features are introduced, there's always the risk of implementation errors that could be exploited for malicious attacks or cause network failures. This could undermine trust in Bitcoin and impact its adoption and value.
- Scalability impact: Incorporating functionalities like tokens and smart contracts might strain Bitcoin's network and hinder its ability to scale effectively. This could lead to network congestion, higher fees, and longer confirmation times, negatively affecting user experience.


Benefits:

- Expanded use cases: Implementing BRC-20 could allow for a wider range of use cases on the Bitcoin network, attracting new users, developers, and businesses to the ecosystem. This could drive adoption and long-term value for Bitcoin.
- Interoperability with other ecosystems: Compatibility with tokens and smart contracts could streamline interoperability between Bitcoin and other blockchain ecosystems, fostering collaboration and synergy among different projects and communities.
- Continuous innovation and development: Bitcoin's ability to adapt and evolve is crucial for its long-term sustainability. Implementing new functionalities like BRC-20 could encourage innovation and ongoing development in the Bitcoin ecosystem, strengthening its position as a market leader in the cryptocurrency space.

Post
Topic
Board Project Development
Re: Transfer bitcoins without internet
by
marcosadelacruz
on 06/12/2022, 17:32:06 UTC
what do you think about the radio frequency spectrum (although Satoshi in the white paper says BTC is an electronic payment system) it is only sending a few bytes through waves to be able to sign and verify transactions in that radio that in the end will be connected to the blockain network in some way that right now I don't know.
It's certainly doable and has been done before. Check out the following links for example:
https://www.shtfblog.com/how-to-send-bitcoin-over-ham-radio/
https://nitter.net/Coinsurenz/status/1052022462790033408

Probably the best way to do it would be to set up a mesh network via something like GoTenna (as the user in that Twitter link above did), with a person with an internet connection on the other end. Then you can cover a wider geographical area and anyone can send a transaction via the mesh network to the central point of internet access in order to be broadcast.

Note that you aren't sending data which needs to be "signed and verified" via radio, as you put it. Each user would sign the transaction they want to make locally on their own device, and would then send that signed transaction through the mesh network in order to reach the person who can broadcast it on their behalf.

Thank you very much I think I can do this it helps me a lot https://news.bitcoin.com/no-internet-no-problem-how-to-send-bitcoin-by-amateur-radio/ Everything I need to transfer successfully Bitcoin, or any cryptocurrency, is to know the public keys of the intended recipient. If I have that, I can use ham radio to send money. No internet needed! However, this technology is new and the process is somewhat complicated (there is not much information about it) but I think I can do it. Thanks super geniuses!
Post
Topic
Board Project Development
Re: Transfer bitcoins without internet
by
marcosadelacruz
on 06/12/2022, 11:03:23 UTC
It all comes down to how can I transfer bitcoin payments to you without internet?
You can't. A transaction must be broadcast to the network via the internet in order to be verified and then mined in to a block.

That does not mean, however, that each individual needs internet access. You simply need some way of getting a transaction on to the internet. Each person can easily sign transactions on their offline devices, and then save those transactions as a small text file. All you need then is some way of getting those small text files to a person/node/service who will broadcast them for you. If you have a public WiFi spot in your community, then you can travel there and use that. If one person has a mobile device or similar with internet access, they could potentially set up a service broadcasting transactions on behalf of other people. There are services which allow you to send transactions via SMS as pointed out above. You could even transmit a transaction via phone call or radio to someone with an internet connection who could broadcast it on your behalf.

Since you are posting on this forum, you must have internet access somehow. Could you set up a method using whatever connection you are on now to broadcast transaction on behalf of your community?

Thanks for the information, you who are masters in this new technology, what do you think about the radio frequency spectrum (although Satoshi in the white paper says BTC is an electronic payment system) it is only sending a few bytes through waves to be able to sign and verify transactions in that radio that in the end will be connected to the blockain network in some way that right now I don't know.
Post
Topic
Board Project Development
Merits 14 from 7 users
Topic OP
Transfer bitcoins without internet
by
marcosadelacruz
on 04/12/2022, 22:51:34 UTC
⭐ Merited by o_e_l_e_o (4) ,BlackHatCoiner (4) ,dkbit98 (2) ,ETFbitcoin (1) ,speeder (1) ,btctaipei (1) ,DdmrDdmr (1)
Hello everyone, greetings and respect, I have just implemented a bitcoin BTC payment system in my small community with cold wallets but not all of them are young with internet access. Many of them have expressed their concern to me. It all comes down to how can I transfer bitcoin payments to you without internet?

I do not know if this possibility had been discussed before in this wonderful forum. But I need your help to see if all together we can achieve this.

Post
Topic
Board Project Development
Re: self hosted crypto payment gateway (payid19.com)
by
marcosadelacruz
on 03/12/2022, 10:38:01 UTC
I don't know, your contribution is supposed to be open source, but it seems more like a dodgy business or I don't know if you know what open source is.