Terms and Conditions
- I agree to the Grant Agreement terms if funded
- I agree to Provide KYC information if funded above $50,000 USD
- I agree to disclose conflicts of interest
- I understand that this grant program is only eligible for completed work, as it is a retroactive grant program. Applications for planned or partially completed work will not be considered. All completed work will be verified and accepted by its intended users or their representatives, who will confirm that the outputs meet the required quality, functionality, and usability before the work is listed as an option for Coinholder voting.
- I agree that for any new open-source software, I will create a CONTRIBUTING.md file that reflects the high standards of Zcash development, using the
librustzcashstyle guides as a primary reference. - I understand when contributing to existing Zcash code, I am required to adhere to the project specific contribution guidelines, paying close attention to any merge, branch, pull request, and commit guidelines as exemplified in the librustzcash repository.
- I understand all grants are valued in USD but will be disbursed in Shielded ZEC. I acknowledge and accept that disbursement amounts may fluctuate based on the ZEC/USD exchange rate at the time of payment.
Application Owners
@AArnott
Organization or Individual Name
Andrew Arnott (nerdcash)
Additional Team Members
None
How did you learn about the Lockbox: Coinholder Retroactive Grants Program?
Zcash Community Forum
Requested Grant Amount (USD)
$20,000
Category
Infrastructure
Project Summary
zcash-payment-service lets any merchant accept shielded Zcash with no middlemen and no fees. It is a free, MIT-licensed, self-hosted service that holds only a viewing key, so payments go straight from payer to merchant. It ships plugins for WooCommerce, Medusa, Vendure, Easy Digital Downloads, and PrestaShop, a hosted pay page, and a one-command HTTPS deploy, and it is already the payment backend for MoneyStream on mainnet. First stable release: v0.1.0.
Project Description
Cryptocurrency promises payments with no middlemen and no fees, yet most payment processors are provider-hosted and charge fees, so merchants rarely get that benefit. zcash-payment-service removes every third party from the transaction. The payer sends shielded ZEC directly to the merchant's own wallet, and the merchant's own server confirms it using only a unified incoming viewing key (UIVK). The service can see payments but can never spend them. It is a small Docker container or an embeddable Rust crate. It gives each checkout a fresh shielded address, scans the chain through lightwalletd, and sends the merchant's app an HMAC-signed webhook when a payment arrives. There are no fees, no accounts, and no provider.
It is in production on mainnet as the payment backend for MoneyStream's paid tiers (https://moneystreamapp.com), which accept only Zcash. Example verifiable payment: https://zecblock.com/tx/63dce15bdc607a2041797c11e50fe3dce1fa4b116fbf8515620a39e5552b5a62
Merchants on WooCommerce (nerdcash/zcash-payment-service#45), Medusa (nerdcash/zcash-payment-service#55), Vendure (nerdcash/zcash-payment-service#58), Easy Digital Downloads (nerdcash/zcash-payment-service#69), and PrestaShop (nerdcash/zcash-payment-service#75) can install a plugin instead of writing code. Each checkout gets a payment link, a QR code, and a hosted pay page that follows the payment live (nerdcash/zcash-payment-service#42). With REQUIRED_CONFIRMATIONS set, the service reports the amount received at each confirmation depth, and every plugin marks an order received but pending confirmation until it is confirmed, so merchants choose their own risk level (nerdcash/zcash-payment-service#71, nerdcash/zcash-payment-service#72, nerdcash/zcash-payment-service#77). A docker compose file with Caddy brings up the service and pay page with automatic HTTPS in one command (nerdcash/zcash-payment-service#63), and a VPS guide walks a merchant from an empty server to production, including backups and upgrades (nerdcash/zcash-payment-service#67).
It complements hosted processors such as CipherPay: this service is for merchants who would rather run one more container than pay fees. A Node/TypeScript client (@nerdcash/zcash-payment-client) and an open-source demo store (video: https://www.youtube.com/watch?v=OIlkqLVTn0w) make custom integrations simple.
Community interest: https://x.com/aarnott/status/2117453042115326113
I intend to continue goodwill maintenance of the service; that is not a funded deliverable of this proposal.
Technical Approach (how you did it)
Rust service built on the published crates.io releases of librustzcash's zcash_client_backend (0.25.0) and zcash_client_sqlite (0.23.0), with its own viewing-key scanner and sandblasting spam filter. Related but not claimed here: the upstream UIVK import PR (zcash/librustzcash#3206) belongs to the separate Nerdbank.Cryptocurrencies and librustzcash fork proposal. HTTP API and signed webhooks. Confirmation-depth balances are derived from receipt heights, so changing REQUIRED_CONFIRMATIONS rebuilds them automatically, and the webhook worker queues every change found during reorg and overlap reconciliation. Store plugins are in PHP (WooCommerce, Easy Digital Downloads, PrestaShop) and TypeScript (Medusa, Vendure). Multi-arch (linux/amd64 and linux/arm64) images on GHCR, versioned from release tags: v0.1.0 at https://github.com/nerdcash/zcash-payment-service/releases/tag/v0.1.0. mdBook docs at https://nerdcash.github.io/zcash-payment-service/. The npm client is published through GitHub OIDC trusted publishing with provenance. CI runs 135 Rust tests, each plugin's unit tests, and a Docker end-to-end checkout test per plugin, behind one required gate (nerdcash/zcash-payment-service#68).
Selected merged work (nerdcash/zcash-payment-service):
- Store plugins: WooCommerce (nerdcash/zcash-payment-service#45), Medusa v2 (nerdcash/zcash-payment-service#55), Vendure (nerdcash/zcash-payment-service#58), Easy Digital Downloads (nerdcash/zcash-payment-service#69), PrestaShop (nerdcash/zcash-payment-service#75)
- Hosted pay page and payment links (nerdcash/zcash-payment-service#42)
- Confirmation-depth balances across the service, npm client, and plugins (nerdcash/zcash-payment-service#71, nerdcash/zcash-payment-service#72, nerdcash/zcash-payment-service#77)
- One-command production deploy with docker compose and Caddy, automatic HTTPS (nerdcash/zcash-payment-service#63), plus a VPS guide (nerdcash/zcash-payment-service#67)
- Docker end-to-end checkout tests per plugin and one required CI gate (nerdcash/zcash-payment-service#68)
- First stable release v0.1.0 as multi-arch GHCR images (nerdcash/zcash-payment-service#43); deploy files pinned to 0.1.0 (nerdcash/zcash-payment-service#79)
- Webhook reliability fixes (nerdcash/zcash-payment-service#25, nerdcash/zcash-payment-service#44, nerdcash/zcash-payment-service#51)
- SECURITY.md (nerdcash/zcash-payment-service#38) and docs comparing with CipherPay and BTCPay Server (nerdcash/zcash-payment-service#39)
Time Period of Work Completion
June 2026 to November 2026
Total Budget (USD)
$20,000
Budget Breakdown
- Compensation:
- $(USD): 20,000
- Justification: 100 hours at $200/hour, covering design, the Rust service and its viewing-key scanner, docs, the npm client, the demo store, the five store plugins, the pay page, confirmation-depth balances, and the compose deploy.
- Technology/Software:
- $(USD): 0
- Justification: None claimed.
- Infrastructure/Hosting:
- $(USD): 0
- Justification: None claimed.
- Services/Contractors:
- $(USD): 0
- Justification: None claimed.
- Other:
- $(USD): 0
- Justification: None claimed.
- Total $(USD): 20,000
Previous Funding
No
Previous Funding Details
No previous funding from the Coinholder program. For transparency: two Zcash Foundation Minor Grants for Nerdbank.Zcash (.NET). (1) Unified Address parsing and construction library for .NET, $750, approved April 17, 2023. (2) Full lightwallet functionality for .NET, $18,000, approved October 2023 and completed February 19, 2024. Neither overlaps this scope.
Other Funding Sources
No
Other Funding Sources Details
None
Success Metrics
- In production on mainnet as the payment backend for MoneyStream's paid tiers (merchant 1, owner-operated). Example verifiable payment: https://zecblock.com/tx/63dce15bdc607a2041797c11e50fe3dce1fa4b116fbf8515620a39e5552b5a62
- Shipped: MIT service with its first stable release (v0.1.0, multi-arch GHCR images), plugins for five store platforms with end-to-end tests, hosted pay page, one-command HTTPS deploy and VPS guide, mdBook guide, npm package (0.1.0 and 0.1.1), demo store, demo video
- Store plugins for WooCommerce, Medusa, Vendure, Easy Digital Downloads, and PrestaShop, with confirmation-aware order handling
- Community interest on X: https://x.com/aarnott/status/2117453042115326113
- Outreach to outside merchants is ongoing
Proof of completion
- Repository/Commit:
- zcash-payment-service - the MIT-licensed payment service
- Store plugins - WooCommerce, Medusa, Vendure, Easy Digital Downloads, PrestaShop
- zcash-payment-demo-store - open-source demo store
- Publication:
- @nerdcash/zcash-payment-client on npm - Node/TypeScript client
- mdBook docs - documentation site
- Demo video - checkout walkthrough
- Deployment/Release:
- v0.1.0 - first stable release, multi-arch GHCR images
- MoneyStream - production merchant accepting only ZEC through this service
- Other Evidence:
- Example mainnet payment - verifiable shielded payment
- Community interest on X
Conflict of Interest Disclosure
None, other than that the applicant owns MoneyStream, the first merchant using the service.
Community Forum Posting
- I understand it is my responsibility to post a link to this issue on the Zcash Community Forums after this application has been submitted so the community can give input. I understand this is required in order for the community to discuss and vote on this grant application. Note: If you are unable to post on the forum (for example, due to new user restrictions), please leave a comment below, and we will adjust your posting permissions.