A dweb implementation based on Rings Network, which allows unrestricted access to network services and content. The process of accessing content is end-to-end encrypted. In this demo, we provide a simple decentralized access method for Uniswap and Tornado Cash.
We have implemented a new dweb using wasm and webrtc, which can be used to bypass firewalls (webrtc), and supports running full nodes in the browser. This means that in the future we will have a completely new dweb architecture, which is truly peer-to-peer, and people will no longer need relay nodes or large centralized nodes to run dweb. This demo shows how we use a browser-based p2p network to access Tornado Cash and Uniswap (old version).
We used the wasm implementation of @ringsnetwork and packaged it into a front-end app. When it runs, it searches the network for a service provider to resolve the accessed files. At the same time, we've hooked the browser's resource loader to redirect traffic to the p2p network.
In this demo, the principles Are as follows:
Load a wasm-based Rings Node within the browser and connect it to the network.
Rings Network utilizes the WebRTC protocol for data transmission and the Chord protocol for routing.
Requests specific resource information from other nodes, such as IPFS information for services like Uniswap or Tornado Cash.
Some network participants act as an IPFS provider service, responsible for fetching the requested content from the network and forwarding it to the requesting node.