Many of us have leaked our Bitcoin transaction history at least once in our Bitcoin journey. Here’s a recent example from myself. It was a normal Wednesday in late September, and I was buying a ticket for Bitcoin++’s Berlin conference for a friend. I bought the ticket in bitcoin. I opened my wallet, pasted the on-chain address, entered the amount in sats, and sent the transaction. The wallet showed the transaction ID (txid), which uniquely identifies the transaction on-chain.
After a while, I decided to check the payment’s confirmation status using my fav
orite explorer mempool.space (but blockstream.info or bitview.space would work too). I pasted the txid into the search bar, and clicked Enter. At that moment, I’ve leaked some information. The web request left my computer, passed by my Internet Service Provider (ISP), and landed at the blockchain explorer’s servers.
I know I’m not alone in using 3rd party web services to track on-chain payment status. While possible, not everyone runs their own self-hosted explorer, or uses their node’s bitcoin-cli to track their transactions. Or maybe you do the work of self-hosting your own infrastructure, but it’s currently offline. Opening the browser and connecting to mempool.space directly is much easier. However, this has serious consequences for your transaction privacy.
Each Request Leaks Something
These days, Internet requests usually use Hypertext Transfer Protocol, Secure (HTTPS), a widely used encrypted web protocol. HTTPS allows users to setup an encrypted communication channel that allows only the sender and the receiver to see the contents of the requests. This means that you and your counterparty (in our example above, the blockchain explorer) are the only ones that can read the request. The ISP, who helps route all of your internet traffic, does not know what the content of the request is, but they do know where the request is going. An ISP acts as a mail carrier: they cannot open the letter, but they know the address of the message recipient.
Whenever I make a request HTTPS protocol, there are multiple parties involved. Each of them can read and store a certain amount of data on you, depending on his role in the process:
ISP: As we said, the ISP is in charge of delivering an HTTPS request to a certain server. To do so, it needs to know the starting point and the address of the recipient. Thus, the ISP knows exactly your IP address and the domain you are trying to reach. If you also add the fact that you are usually KYCed with your provider, it means that your physical identity is linked to the domain you are trying to reach. Putting this into our initial example, it means that the ISP knows that I made a request to a blockchain explorer.
Website: The receiving website knows more than anyone else about you. It reads your specific requests and, in order to answer them, the web server also knows your public IP address. In our example, this means that the blockchain explorer I connected to can link my physical IP to my bitcoin transaction’s txid.
By using a blockchain explorer, I’m leaving a trace behind. A malicious explorer could log my txid and reported IP address. The IP address is linked to my ISP, which in turn knows my real-world identity. The end result? My identity and Bitcoin transaction are linkable.
How can I protect my privacy from both ISPs and web services?
Masquerading My IP Address
The market’s response to the need for privacy on the internet are Virtual Private Networks (VPNs).
VPNs are private networks that allow customers to create a secure, encrypted communication tunnel between their own device and a remote server. These encrypted tunnels encapsulate the original HTTPS request, wrapping it in a second HTTPS request, this time addressed to a server inside the private, Virtual Network. Once the VPN’s server receives the request, it pulls out the original HTTPS request and forwards it to the final destination, using its own IP address as the origination point for the request.
Let’s take a look at how the data visibility changes when a VPN is used:
ISP: The ISP still knows my IP address. However, the ISP is now transferring an encapsulated HTTPS request to the VPN server I am connected to, not to my final destination. The ISP has only visibility on the fact that I am sending and receiving traffic to the VPN’s servers. Thanks to the encapsulation, the final destination cannot be seen by the ISP intermediary.
Website: The web server will only see a request coming from a VPN server, not from my public IP. They have no way to know where the original request originated from.
VPN Server: The VPN learns my public IP and sees the domain I want to reach, but does not know the content of my request. Basically, it sees the information that the ISP originally used to receive.
You can already see where this is going. We are introducing a new third party — the VPN provider — who can gather data on us. While we’ve reduced our exposure to our ISP, the VPN company is still a private business which can be subpoenaed, hacked, or pressured to release our data. Some VPNs have “No logs” policies that can help improve our privacy, but we are still trusting a third party to keep their promise.
Most VPN providers do not require a user to KYC, but paying for the service using a credit card can tie our identity to our requests.
This gets even worse if we look at it from a psychological standpoint. VPNs give a false sense of security and privacy — usually strongly marketed by the providers themselves — which can lead to users not being careful about their online activities.
How do we solve this situation? Is it even possible to somehow gain privacy online?
One possible solution is to use The Onion Routing (Tor) Network, which routes our traffic through multiple relays so users can browse, communicate, and publish without exposing information about who they are and where they are connecting from, using a technique called onion routing.
While this is certainly a good solution, using Tor usually decreases the usability and the quality of the connection we are used to having. Anything else we could be using?
A Decentralized VPN Marketplace
VPNs are an effective tool to hide your information from both your ISP and the final web service you are using. However, their current, centralized nature remains a huge liability for your privacy.
What if we could rely on a protocol that removes that single point of failure? What if we could count on several entities competing on a decentralized marketplace, all speaking the same language (i.e. protocol)?
A team from Africa says they have the answer: ARFL.
ARFL (Araphel) is a protocol for decentralized VPNs. ARFL operators compete in a marketplace to sell their bandwidth to users who are looking to keep their web browsing private. ARFL accomplishes this by leveraging four open-source protocols: WireGuard, Nostr, the Lightning Network, and Cashu.
ARFL has several interesting properties. First, it does not rely on centralized accounts and identities. Instead, ARFL leverages locally generated cryptographic keys as credentials. Moreover, users are not required to buy a subscription with their credit card. Instead, users can pre-pay for bandwidth volume (e.g. 1GB) from their chosen AFRL provider using bitcoin.
Aside from pre-paid, no subscription plans, ARFL has other attractive features. The “no log” policy is enforced at the protocol level, making it impossible to log user’s behavior. Further, ARFL uses blinded signatures to make bandwidth credits and the payments that bought them unlinkable.
The ARFL protocol defines two roles: Operators and Hubs. Operators interact directly with the ARFL protocol. They sell their bandwidth in exchange for bitcoin. Hubs are the user-facing part: businesses built on top of the ARFL protocol that aggregate several Operators and route internet traffic through those.
At the time of writing, the ARFL protocol mandates Hubs to attest and vet the Operators they are relying on. Each Operator needs to receive an attestation from its reference Hub which needs to be refreshed every 6 hours. The Hub keeps track of whether an Operator is allowed to refresh its attestation, which is essentially an access policy. The protocol refers to an active attestation as a lease.
Version 2 of the ARFL protocol, currently under development, will require Operators to put up bond deposits to receive an attestation, which should greatly reduce reliance on Hub’s judgement of what makes an Operator eligible for participation in the network.
ARFL Workflow
An Operator publishes a signed Nostr event to public relays to announce its availability to the network. The event is a kind:30078 and it contains all the parameters needed for connections, the Node’s npub and WireGuard public key, lnurl for payments, upload and download speed available, the current load, the maximum capacity, and more. The event also defines the role of the Operator, which could act as an entry node, exit node, or both. The event is updated every 60 seconds, and, since kind:30078 is a replaceable event, older announced events are discarded in favor of the latest one.
Once a Hub releases a lease attestation, the Operator is whitelisted for that Hub and ready to sell its bandwidth to the Hub’s customers. Hubs set the price and sell Operators’ bandwidth in discrete tiers (e.g. 1GB for 500sats).
To access ARFL’s network, a user chooses their preferred Hub, selecting the desired bandwidth tier at the Hub’s offered price. The Hub has a Cashu-compatible endpoint — based on NUT-04 — which enables token minting. The user’s ARFL client sends a request for the chosen bandwidth tier at the listed price to the Hub’s Cashu mint, who in turns responds with a BOLT11 invoice. The user pays the Lightning invoice and the Hub mints ecash tokens which represent discrete amounts of bandwidth, such as 100MB per token. These Cashu bandwidth tokens are blind-signed by the Hub, which means that the user’s identity cannot be linked to the bandwidth token at redemption. Once the user successfully mints bandwidth tokens, they are ready to connect to the ARFL network.
Network connections are implemented in the ARFL protocol using a two-hop routing design, composed of nested WireGuard tunnels. Each connection requires two nodes managed by the Operators: an entry and an exit. The client selects its nodes using an algorithm that takes the Hub’s leases, remaining capacity, uptime, and upload speed into account. Entry and exit node Operators have different public keys, so as to remove their ability to correlate a single user’s requests.
The client sends ecash tokens to both the entry and exit nodes, which in turn verify the token’s validity with the Hub’s mint for double-spend detection. Once the token is verified, the Operator is allowed to provide its bandwidth to the user.
(Author’s Note: At the time of writing, token transfer from the client to Operators is done through a direct HTTPS request, which leaks the user’s IP address to both Operators. According to the whitepaper, this is a temporary measure since NIP-44-based Nostr direct messages — which avoid exposing IPs completely — have been implemented and should be operative by default soon.)
Once the ecash tokens are successfully sent and validated, the client establishes WireGuard tunnels with both entry and exit nodes. The client first creates an outer tunnel with the entry node, wg-outer which is used to carry the inner tunnel, wg-inner , which is in turn established with the exit node. The client completes a Noise handshake with each Operator, providing authentication and forward secrecy for any data sent or received.
Once the tunnels are established, the user is finally able to connect out to the desired destination website. Operators redeem the users’ ecash tokens and provide their bandwidth accordingly.
Operators are then paid according to provided bandwidth by the Hub. The Hub’s settlement engine runs on a fixed schedule — 6 hours by default. It aggregates the redeemed ecash notes to derive how much each Operator is due. The Hub takes its cut — configurable in the Hub parameters between 0 and 50%, set to 20% by default — and the entry and exit Operators each take half of the remaining payment as compensation for the use of their bandwidth.
The VPN industry has been marketing privacy for years. However, its centralized design only moves the privacy problem. It doesn’t eliminate it. Just like an ISP, a VPN company can be prosecuted, resulting in leaked IP addresses, logs, and personal information.
ARFL has no central authority, which means there is no single entity that can be prosecuted. Operators sell their bandwidth to anonymous users. Hubs compete in the market to aggregate Operators, vouch for them, and sell VPN access to as many clients as possible. Operators are free to switch to a different Hub, as are users who are looking for better prices.
Going back to the initial example, here is what each party involved sees:
ISP: The ISP still knows my IP address. However, the ISP is now transferring an encapsulated HTTPS request to the entry node I am connected to, not to my final destination.
Website: The web server will only see a request coming from the exit node, not from my public IP. They have no way to know where the original request originated from.
Entry Operator: The entry node sees my real IP address, but cannot see my final destination. That part is in an encrypted blob destined to the exit node.
Exit Operator: The exit node can see neither my real IP address nor the request, only the destination.
ARFL solves VPN privacy. Its novel protocol enables an anonymous, market-based network that anyone with spare bandwidth can participate in. By separating the entry and exit nodes, ARFL is able to achieve better blinding than centralized VPN company services. The protocol is completely open-source, exactly as all the other protocols that it builds upon. No subscription is needed, no KYC, no credit card data. Everything is pseudonymous and paid for in Bitcoin.
Meyer — one of the founders of the project — is clear about the next step for the project: “We would like someone to run the first Hub!” So, if you want to know more about ARFL, follow them on X, or take a look at the GitHub repository If you want to start contributing. The VPN market is open, we now need the first players.



