PetraPay: Accept any crypto, settle to shielded ZEC (online + POS)

Hi everyone :waving_hand:

I’ve submitted a retroactive grant application for PetraPay and would love your feedback.

Application: Retroactive Grant Application - PetraPay · Issue #97 · Financial-Privacy-Foundation/ZcashCoinholderGrantsProgram · GitHub

What is PetraPay?

PetraPay is a non-custodial, Stripe-style payment gateway for Zcash. Customers pay with whatever they hold (USDC, USDT, ETH, SOL, BTC and 190+ other tokens on many chains), and the business receives shielded ZEC at a fresh Orchard address.

Most people who could pay a Zcash merchant don’t hold ZEC. PetraPay lets merchants accept them anyway, without giving up privacy, and every payment brings new money into the shielded pool.

What’s built and live

  • Invoices and payment links: fixed price or customer-chooses, with optional form fields encrypted in the customer’s browser. Links can be edited without changing the URL.
  • Hosted checkout: 190+ tokens, live signed quotes with fees included, wallet connect or QR, plus direct shielded ZEC via ZIP-321.
  • Point of sale: an Android app for payment terminals with a built-in printer. The customer scans, pays from their phone, and the receipt prints automatically.
  • npm package: add a “Pay with PetraPay” button to any website in a few lines (React, web component or plain script tag).
  • Developer API: secret keys, a REST API for checkouts, idempotency, and signed webhooks with retries.
  • Withdrawals: convert ZEC to any token on any supported chain.
  • Docs: guides, API reference and SDK docs.

Privacy model

  • Funds settle into the Orchard pool, and each payment uses a fresh unified address from a pool the merchant supplies, so payments can’t be linked on-chain.
  • No viewing key is ever collected, and PetraPay never holds funds or keys.
  • No email or password: accounts are keys derived from a 12-word phrase that never leaves the browser.
  • ZIP-316 parsing, tested against the official vectors, rejects transparent and Sapling-only addresses.

What stays public, stated openly: the customer’s deposit on their own chain, and the swap into ZEC. Cross-chain routing uses NEAR Intents, and every quote’s signature is verified before a deposit address is shown.

How it compares

CipherPay (great work!) serves customers who already hold ZEC, detecting payments with the merchant’s viewing key. PetraPay targets the much larger group who don’t, converting their payments into shielded ZEC, online and at a physical counter. The two complement each other.

Links

The ask

$12,000 for completed work from September to November 2026, about 300 hours solo, plus the POS hardware, hosting and mainnet test transactions. The full breakdown is in the application.

I’d really appreciate your thoughts, questions and critiques, especially on the privacy model and what would make PetraPay more useful to Zcash merchants. Thanks for reading! :shield:

3 Likes

Hi, I really like this proposal because, as you say, most people use other currencies. Although the idea is to promote the adoption of Zcash, this is a very true statement. At least here in Venezuela, people are becoming familiar with USDT due to the economic situation.

One question: Will payments be able to be made from an exchange or only from wallets? I wish you great success with your proposal.

1 Like

Thank you so much, and you’re exactly right. In places like Venezuela (and Nigeria, where I’m based), USDT is what people actually hold, so meeting them there is the whole point. Every one of those payments ends up as shielded ZEC.

To your question: yes, payments can be made from an exchange, not just from wallets. At checkout the customer gets a one-time deposit address and a QR code, so they can send from Binance, OKX or any other exchange, the same way they’d withdraw to any address.

Connecting a wallet (MetaMask, Phantom, etc.) is the smoothest path, because the exact amount is filled in for you. But exchanges work fine, and I’ll make these tips clearer on the checkout page itself.

Thanks again for the support! :folded_hands:

1 Like