Enable cheap, private transactions with Compound using Aztec

Thanks @lisa - the opportunity to make Compound accessible again to smaller market participants is what pushed me over the edge to double down on Solidity skill-building so that I could draft this bridge. Even better, Aztec’s approach is privacy-oriented and, unlike most of the alternatives the community has discussed, it doesn’t require fragmentation of liquidity or reserves.

Folks are welcome to review the draft PR for a Compound Aztec connect bridge; please post questions, suggestions, and other feedback as comments on the PR or to the development or ecosystem channels on Discord. Insights from those who have experience deploying contracts that interact with the protocol directly will be especially helpful here.

If the community agrees to funding a bridge subsidy, what do folks think about this proposal being funded with an allocation from the ETH that Coinbase returned to the timelock after the expiry of Compound’s Coinbase Earn program? The funds will be used to pay for the bridge’s gas, so funding directly in ETH would sidestep the need for either protocol to execute a trade. At current prices, the request amounts to well under 1% of ETH sitting in the timelock.

One barrier to funding directly in ETH is that the protocol currently can’t move ETH from the timelock, as pointed out by @arr00; however, he already has a PR to correct this technicality. I’m not sure if there’s time to merge this PR before the target go-live time for the first Aztec bridges, but we could ask @cylon and the OpenZeppelin team to prioritize if we felt this was a worthwhile direction to go for this proposal. If resolving that issue is still months out, then funding in COMP remains an option.

3 Likes