NEAR Intents

Hi all - sharing our proposal for the NEAR Intents support of Zcash here and looking forward to getting community feedback: Proposal Link.

The proposal covers work that’s already been completed and live in production, focused on integrating Zcash with NEAR Intents to make it easy for users to convert 130+ assets into ZEC and to drive usage of the Orchard pool. This ended up unlocking several downstream integrations and led to more venues for people to trade ZEC.

A huge highlight in all of this has been the welcoming Zcash community and the collaboration between our ecosystems. We look forward to continuing to deepen our partnerships and integrations!

9 Likes

NEAR and Maya, together, changed the game for Zcash. It made ZEC the first DEX-connected privacy asset with significant liquidity. Zcash liquidity and volume on NEAR is vastly deeper than on Maya, and with a larger dev team it makes sense for you to ask for a larger amount.

NEAR is profiting off of every Zcash swap via the UI, right? When an affiliate username + bps has not been provided? What are the total earnings on ZEC swaps by the NEAR Intents / 1click teams so far?

I would be supportive of a smaller grant amount, but my (perhaps incorrect) perspective is that NEAR is making a significant amount of profit from the volume that Zcash swaps have brought to the NEAR network. Driven by Zcash’s product market fit of “privacy”, aligning with NEAR’s fit of “connectedness”.

Regardless, a huge thank you for implementing Zcash on NEAR - and I do hope that a grant is awarded. No hard feelings but I personally would prefer it to be around half the size.

edit: get us a proposal for supporting shielded ZEC (orchard) and I’m sure that will be compelling!

3 Likes

Thank you for the feedback.

Regarding the profits, only the Intents frontend has fees and to date has made <$50k. We have no fees on the API level.

On shielded support - we do have shielded support implemented already and are directly supporting the growth of the Orchard pool.

3 Likes

I think NEAR has been game changing. I said this to Alex personally in the last Zeboot. It solved a real problem and saved HOURS of time and having your arse between your hands while waiting and praying that “KYC-less-unless-we-want-to” CEX would come through

Although as @emersonian remarked it’s surprising to see such a big sum given that NEAR charges fees over the volume operated and is charging the whole costs incurred. I as a Zcasher thought or had the idea given the information I had, that the costs and fee subsidies were an investment on their side they were doing and that they were rightfully profiting on fees given the success so this application is sort of unexpected.

I use NEAR and I think it’s great. I still I’m surprised and somewhat skeptical of/confused by the figure @blippitty is reporting while we learned that Zashi made profits in the order of millions.

3 Likes

I also have observations about this in particular.

  1. Real-time compliance screening for 1Click Swap API quote requests
Every quote request undergoes automated compliance checks against multiple trusted data sources:

* **NEAR Intents AML Portal** 
* **Binance AML**

* **AMLBot & PureFi** 
  1. Enhanced screening for 1Click Swap API non-dry quote requests
In addition to the above, all non-dry quote requests are screened against [TRM Labs](https://www.trmlabs.com/)

datasets. At present, we automatically block quote issuance for any address that TRM Labs flags with:

* Sanctions (with `riskType: OWNERSHIP`)

* Blocking behavior

When a match is detected, the quote request is immediately rejected, and the corresponding user or distribution channel receives a clear response that the quote has been blocked. This ensures that potentially tainted flows are contained at the very first interaction point.

My favorite is riskType: OWNERSHIP :grin:

Anyhow, I understand there may be compliance considerations, but I think the retroactive grants funders might want to think about how this aligns with the the ideas of censorship resistance and privacy in the Zcash project. Would you @blippitty like to comment on this?

I personally would like to know how a user might find this information in-app, without looking for something like this on a website. I’m not familiar with the system, so, genuine question - are Zcash users or swappers notified of screenings from professional blockchain analysis companies like TRM Labs, or Binance AML ? More technically, what is visible to them and what information is gathered?

2 Likes

How do you get the 1/2 number? I thought NEAR offered shielded addresses?

That’s surprising. What’s the best way to verify this, is there an open source dashboard? Dune?

I asked NEAR a few pointed questions about this at Zeboot and was mostly satisfied with their responses, but due to confidentiality rules I’m not sure if I can share.

Even if no user IPs are shared with AML providers, the moment that NEAR Intents sends them an address to screen, you better believe that the provider will log that address forever and tag it as “NEAR User”. Arguably that doesn’t matter much for users that did ultimately send funds into NEAR for a swap, but for the users that looked up a swap quote and decided not to swap, that’s a privacy leak.

NEAR: What is the entirety of information shared with AML providers? Are user IPs, user agents, or affiliate IDs shared with AML providers at any point? (identifying, for example, which 1click deposit address is held by a Zashi user) Can you open source that part of your code for us to take a look at?

Regarding shielded/orchard support, I have never seen an orchard deposit address. What do you mean by orchard support?

I have only seen:

  1. Transparent addresses in the NEAR Intents user interface for user deposits.
  2. Transparent addresses in the 1click API responses (perhaps you updated this)
  3. Transparent addresses holding liquidity in NEAR validators’ TSS vaults

Can we get clarity on which of the above support orchard, or where exactly in your stack orchard is supported?

AFAIK true Orchard support would require that NEAR validators move to FROST instead of using TSS.

I want to caution everyone to what we should flag as “traceable orchard” support across our community. When is an orchard transaction traceable? When someone deposits into Orchard with an exact amount, then withdraws from Orchard that same nearly-exact amount. Especially if the withdraw happens soon after the deposit.

To a new dev in our ecosystem, the easiest way to support orchard is to allow users to deposit into an orchard address, then immediately transfer those funds out into a transparent address. That’s almost as good as not using orchard as all, it’s very very traceable.

When a project claims shielded support, let’s be vigilant about verifying what exactly they mean by that. The “traceable orchard” approach I define above is not entirely bad - it is a baby step towards full orchard support - and is perhaps better than nothing. But what I really don’t like about it is that users get a huge false sense of security.

(Context: Immense tooling and understanding exists for Bitcoin addresses, which is why I strongly support Zcash transparent addresses (which are essentially BTC addresses) for developer evangelism. T-addresses got us NEAR and Maya years sooner, if ever. TSS is the technology that allows Maya and NEAR to safely store massive amounts of Zcash across multiple validators in a mostly-trustless, decentralized way. But it does not support Orchard addresses. For that you need FROST. So, transparent addresses are essential right now, and are absolutely both a feature and a bug.)

As a community member I really want both NEAR and Maya to receive sizable but fair rewards for connecting our human rights technology, Zcash, to DEX rails. Something less than $500k feels right to me, it’s roughly what I could see a startup fundraising to build a significantly-complex early product. But it’s absolutely a number I pulled out of thin air, not too dissimilar to the estimating approach used by many rejected grant applicants :sweat_smile: (not calling out anyone in this thread).

Great to see infrastructure like this bringing liquidity to ZEC. Cross-chain accessibility is key for adoption.

On the application layer side, we’re building ZChat - private messaging where every message is a shielded transaction on Orchard. Same zk-SNARK proofs, different use case.

Infrastructure + applications = complete ecosystem. Looking forward to seeing more builders ship on Zcash!

1 Like

FYI, Zashi includes an app fee of 50 bps. Not sure how much of an impact this has though.

5 Likes

Hi everyone, thank you for the thoughtful engagement and for all the support till date. The NEAR Intents team is committed to scaling Zcash adoption and we will always be strong advocates fervently championing the ZEC ecosystem but after some internal deliberations, we have decided to retract this NEAR Intents grant proposal. We strongly believe that the best way to align incentives is to build great products that solve hard problems which people do not mind paying for and we are confident, that as we get more informed and explore monetisation opportunities for NEAR Intents-based products, we will not require grants to subsidise the engineering efforts.

Further context that hopefully answers some of the questions, NEAR Intents currently does not have any protocol fees and only the app.near-intents.org frontend has fees implemented. We rolled out the fees on the frontend a few weeks ago hence the numbers may look surprisingly low. That said, we do plan to turn on the fee switch for flows broadly on NEAR Intents and this goes into effect next week onwards. Refer here.

We are excited to see teams like ZODL (fka Zashi), Infinex, THORswap, THORwallet, Rhea, Templar and more continue to leverage NEAR Intents to not only support flows into the Zcash ecosystem but also expose the ZEC asset to communities who have historically had no way to acquire ZEC on-chain.

Another important thing to note for general awareness is that NEAR Intents is not just another DEX, we are building the universal liquidity layer for all assets and trading types and already have use cases like lending and DCA built on NEAR Intents for ZEC by independent teams. We’ve also bridged ZEC to Solana and plan to make it accessible via our Omnibridge network to even more chains. We’ve enabled hundreds of millions of dollars to flow seamlessly into Zcash (track it real time on the NEAR Intents explorer) and we only expect to reach more scale as we unveil more products in the coming months.

ZENEAR

7 Likes

@blippitty @chronear
No comment on these? Your users and potential users might be interested, even if you’re not seeking retroactive grants any longer.

2 Likes