SwarmAnon enables private access to the Swarm decentralized storage through the Nym mixnet.
SwarmAnon is a privacy-focused gateway that combines Ethereum Swarm's decentralized storage infrastructure with the Nym mixnet to protect users' network IP address and traffic patterns.
While Swarm enables decentralized storage and website hosting, users typically access content through HTTP gateways. These gateways can observe users' IP addresses, request timestamps, and other metadata, effectively linking users to the content they access.
SwarmAnon addresses this privacy gap by enabling ethersphere/swarm-gateway to operate as a service over the Nym mixnet.
Instead of connecting directly to a public Swarm gateway, users route their requests through Nym's privacy-preserving network. Nym uses layered encryption and traffic mixing to obscure the origin of network communications, preventing the Swarm gateway from directly observing users' original IP addresses.
SwarmAnon acts as a bridge between the Nym network and existing Swarm infrastructure. It receives requests through Nym, forwards them to the Swarm gateway, which communicates with a Bee node, and returns the requested content to users through the mixnet.
This approach protects users' originating IP addresses, reduces exposure of network metadata, and enables more private access to files, websites, and decentralized applications hosted on Swarm.
By building on existing Swarm infrastructure without requiring changes to the underlying protocol, SwarmAnon provides a foundation for developers to create privacy-conscious decentralized applications.
SwarmAnon focuses on network-level privacy rather than claiming complete anonymity, since application-level identifiers may still reveal information.
Our vision is simple: bring privacy to decentralized storage and hosting by combining Swarm's decentralized infrastructure with Nym's network privacy technology.
Because decentralization should not come at the cost of privacy.
SwarmAnon is built by integrating ethersphere/swarm-gateway with the Nym mixnet to enable privacy-preserving access to decentralized storage and hosting.
The project combines Ethereum Swarm, Bee nodes, and Nym's privacy-preserving network. We built a service layer that connects Nym's messaging infrastructure to the existing Swarm gateway, allowing users to access Swarm-hosted content without connecting directly to the gateway.
The architecture works by routing client requests through the Nym mixnet to a service adapter running alongside swarm-gateway. The adapter receives requests, forwards them to the gateway over a local connection, and sends responses back through Nym. The Swarm gateway communicates with a Bee node to retrieve content from the decentralized Swarm network.
The main technical challenge was bridging HTTP-based communication with Nym's mixnet transport while preserving compatibility with Swarm's existing APIs and request-response behavior.
One notable aspect of the implementation is that we didn't need to modify the underlying Swarm protocol. Instead, we made the existing gateway accessible as a Nym service, separating the privacy layer from the storage infrastructure.
Nym provides layered encryption and traffic mixing to help conceal users' originating IP addresses, while Swarm provides decentralized storage, content addressing, and website hosting.
By combining these technologies, SwarmAnon demonstrates how existing decentralized infrastructure can be extended with network-level privacy without rebuilding the underlying systems.

