Chalice
Censorship-resistant Cross-Chain Mixer-Bridge
Created on 4th December 2025
•
Chalice
Censorship-resistant Cross-Chain Mixer-Bridge
The problem Chalice solves
every transaction, on every chain
Blockchain was meant to be censorship-resistant, and yet when Tornado Cash got sanctioned, many validators were censoring the app. All offramps were censoring its users.
Chalice fixes this by making it so every transaction, on every chain, is on the anonymity set. No one can censor or track this. The anonymity set is instantly too big.
You can swap your private coin for a public one leaving no trace, anywhere. All thanks to NEAR MPC Chain Signatures + Light-Clients.
Use-cases:
- buy ZCash with Solana without anyone knowing you are doing privacy transactions
- offboard from ZCash to pay for real-life stuff on Solana/Bitcoin without anyone realizing your money came from a privacy chain
- coordinate transactions between multiple different chains leaving no trace, for example to farm anonymity for some other mixer
NEAR Intents, but make it ZK
NEAR Intents is great, we all love it — but it leaks too much.
By leveraging just the right pieces from it — NEAR MPC Chain Signatures + ZCash Light-Client — we can provide a similar experience but with a way better privacy story.
Not only that but we are effectively adding mixer functionality to chains which don't necessarily support smart-contracts (i.e. Bitcoin), making it effectively a Bitcoin mixer too.
For more technical details, read our README. It has technical diagrams and explanations.
historical background
My team built a mixer, the first ZK app on NEAR, back in 2022 (very close to the Tornado sanction) for the NEARCON 22 hackathon. We built compliance into it... but that didn't make anyone less scared to use it.
That honestly was such a huge letdown for us, we spent so fucking long building the circuits and the verifiers, and thinking withdrawal screening + other techniques fixed the North Korean hacking threat-model but none of that mattered
Not only were people tracked and censored, that also meant the anonymity set was worse quality. Only criminals wanted to use it, users were left with no privacy options. Of course nowadays it's different: regulations changed, we have privacy pools, other compliant options etc... but what if?
That's why I built Chalice. Our privacy shouldn't hinge on what ifs. And this is not a cypherpunk delusion: Chalice can support the same compliance solutions as privacy pools, zkp2p and others
You just trust NEAR MPC and in return for it you get the anonymity set as large as you want to disclose it as.
Censorship... Fixed.
Compliance? Uncompromised.
Challenges I ran into
UltraHonk Verifier
had to port UltraHonk Verifier to wasm32-unknown-unknown so it could verify directly on NEAR (using Aurora was an alternative but that would incur in extra latency by the cross-contract call and also it wasn't clear it was going to take less gas, and it was close to the limit)
this is very special to me because 3 years ago on NEARCON 22 me and my team (hack-a-chain) shipped the Groth16 Verifier for NEAR. Years later the only verifiers deployed are still my team's Groth16 and PlonK verifiers, but now I'm adding UltraHonk to the list
solana inclusion proof (novel)
i think this was the first project to verify a zk solana inclusion proof of all transactions. i had to use wormhole queries to sync block hashes to NEAR, and then run a geyzer plugin to send all the entry hashes that could be proved on the contract, and assemble a merkle tree out of it.
this solana merkle tree allows us to make zk proof of inclusion of any solana transaction, and then we combine it with the zcash (and potentially bitcoin) merkle tree too to provide cross-chain anonymity set
web proving + multi-chain
had to build a web multi-chain wallet with proving capabilities, so the demo would be seamless showcasing how streamlined the UX for this approach could get.
peer match-making (incomplete)
I didn't want to open up a vector of attack where people would snoop on other people trying to get their private intents matched without committing to fill them on the other side
that's why I wanted to build a match-making engine inside a TEE, which's the perfect fit to provide this transient privacy and match-making. Not even the TEE could learn about intents that don't get filled.
Users just provide hints by sharing their quotes for the pairs they are interested at, but since the quotes never get publicized (only the ZCash intent originator amount), nothing leaks that could link to the on-chain identity of the users.
multi-chain merkle-root
Too many chains synchronizing their light-clients at different speeds, it would be impossible for a user to assemble the merkle tree locally, generate the proof, and get it included before the merkle root changes.
It required a threefold fix:
- a standard incremental merkle tree (constant-size)
- a ring buffer for recent roots
- a prefix trick: every chain's merkle tree gets a specific prefix in the merkle tree. For my taker txs anonymity set I currently have Bitcoin and Solana so I had Bitcoin be 0 and Solana be 1. To add more chains we could have longer prefixes (e.g. Solana becomes 10 and Eth becomes 11)
choosing proving system
As I explain on this tweet if you want to have a ZK (private) proving system that proves on mobile and verifies on-chain, well... Tough luck.
I think the only other alternative to Aztec's Noir would have been Miden. A great benefit of Miden is that it already compiles the verifier to wasm32-unknown-unknown, so it probably works with NEAR natively. Also it's actually a zkVM so for my branching multi-chain anonymity set it would have probably have saved some proving time... Who knows?
That being said I was offput by the potentially big memory requirement for the proofs, but didn't bother benchmarking. I took the maybe weird looking decision of preferring to port the verifier rather than going off to benchmark Miden and stuff, but honestly maybe Miden would've worked more easily for this use.
I opted for Barretenberg/UltraHonk because I knew that barring porting the verifier, everything else pretty much worked.
Tracks Applied (5)
Cross-Chain Privacy Solutions
Axelar Network
Cross-Chain Privacy Solutions
Osmosis
Cross-Chain Privacy Solutions
Helius
Privacy Infrastructure & Developer Tools
Raybot
Cross-Chain Privacy Solutions
NEAR Protocol
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.



