project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Hashield

Private web3 browsing powered by Monero<>EVM atomic swaps and Fusion +

Hashield

Created At

Unite Defi

Project Description

Hashield is a privacy-by-default web3 wallet browser extension built on Monero-Ethereum atomic swaps. It combines:

Chromium web3 extension providing automatic address cycling for privacy and address spoofing for dApp use ETH ↔ XMR atomic swap protocol for trustless cross-chain transactions 1inch cross-chain swap interfaces for Fusion + compatibility The end result is a privacy-focused web3 wallet that enables secure, atomic swaps between EVM chains and Monero.

The browser extension was inspired by the PrivacyLinks project, which used Privacy Pools to achieve privacy. However, Privacy Pools are limited in that they do not have a large privacy set as opposed to Monero, which has decades long track record of preserving onchain privacy despite state actor attempts to attack it.

During the course of the hackathon TradeOgre, the largest non-KYC exchange offering Monero went down, highlighting the need for Monero DeFi solutions.

How it's Made

To make this project I combined an existing eth-xmr atomic swap repo with 1Inch Fusion+ and a browser extension. Additionally, I built microservice that handles the interactions between these components. The browser extension can spoof addresses to ensure dApp compatibility. However, when a transaction is sent the transaction is instead routed through a monero atomic swap to provide privacy for the transaction. When a user initiates a transaction, this initiates the swap process which begins by filling the order on the Limit Order protocol contract. Another party must take the other side of the transaction. The atomic swap process begins, with the browser extension providing Monero and the counterparty providing the ERC-20.

In order to achieve private funding of wallets, the atomic swap contracts enable relayer capabilities for transactions. This is integrated with the AmountGetterWithFee extension to ensure that the ordeerbook data includes the total cost of the transaction and not just the purely exchange rate based amount.

The xmr-eth-atomic-swap repo makes use of adapter signatures to achieve a Fusion+ compatible timelock. This is noteworthy as this methodology achieves smart contract like behavior on a chain without smart contracts.

background image mobile

Join the mailing list

Get the latest news and updates