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 (@octocat, @octocat1)
@Sofiia7
Organization or Individual Name
Sofiia (GitHub @Sofiia7), individual
Additional Team Members
- Name: N/A
Role: Solo project
Background: One developer. Code was written with AI coding assistance (Claude Code); design decisions, testing on testnet and mainnet, releases and documentation are mine.
Responsibilities: N/A
How did you learn about the Lockbox: Coinholder Retroactive Grants Program?
The Q4 2026 call for proposals on the Zcash Community Forum.
Requested Grant Amount (USD)
$4,800
Category
Wallets
Project Summary
zec-agent-wallet (zaw) is a local shielded Zcash light wallet with an MCP server that lets an AI agent pay bills its owner approved, in shielded ZEC, without the model ever seeing keys, addresses, transaction ids or the memos counterparties write. It is released as v0.1.2 (Rust, MIT) with Windows and Linux binaries and was tested end to end on testnet and with a mainnet payment made by a Claude agent.
Project Description
AI agents are starting to pay for things, and most agent wallets are transparent: every address, amount and memo the wallet returns is sent to the model provider as part of the conversation. Shielded Zcash hides who pays whom on chain, but that protection is lost if the agent's own tools hand the details to a third party. The same text fields are also where prompt injections hide.
zec-agent-wallet keeps that data out of the model and keeps the owner in control:
- The owner approves one specific bill (recipient, amount, memo, fee limit, expiry) with the wallet password. The agent can then pay that bill once, exactly as approved. Unapproved, changed or expired bills are refused with a fixed reason code.
- The model sees only contact aliases, owner-set labels, amounts and statuses. It never sees keys, addresses, transaction ids, memos or the counterparty's text.
- Payment requests: the agent can ask to be paid on a fresh address per request and later check whether the funds arrived, still without seeing the address.
- A local owner window shows bills and their approval state, the counterparty's text and address (to the owner only), a daily limit, a stop button for agent payments, a plain-language activity log and, for each bill, the exact response the model receives.
- Optional approximate USD amounts on mainnet and a top-up QR code for any shielded wallet.
Goals the completed work meets: make shielded ZEC usable by AI agents through the Model Context Protocol (Claude Code, Claude Desktop, agents on the Claude API and any MCP client); show that an agent wallet can be private towards the model provider, not only on chain; and publish a documented approval and threat model others can reuse. The README states plainly what it does not protect (the model still sees aliases and amounts; an agent with shell access as the same OS user can read local wallet files; the lightwalletd server sees the IP address).
The project was built for ZECATHON (Shielded Payments track) between 5 and 27 October 2026.
Technical Approach (how you did it)
- One Rust binary,
zaw, withinit,daemon,mcpanddoctorcommands; about 4,800 lines of Rust and 17 unit tests. - Wallet: light client on the stable librustzcash crates (zcash_client_backend 0.25.0, zcash_client_sqlite 0.23.0, zcash_protocol 0.11.0) syncing through lightwalletd (zec.rocks). Receives on Orchard-only unified addresses; since NU6.3 the funds land in the Ironwood pool, which was tested on both networks. No full node needed.
- Approvals: an approval is a snapshot of the bill authenticated with an HMAC key that exists only in daemon memory, so editing the database cannot create or change an approval.
- Payments: one payment per bill. Repeated or concurrent
pay_billcalls return the same operation; each state is stored before the next step and an interrupted build is never retried automatically. The daily limit is reserved atomically with each payment and includes the fee. - MCP server over stdio with 9 tools and its own JSON-RPC implementation. It holds no keys and talks to the daemon over a local API with an access token. Every agent and MCP response is scanned for anything that looks like an address, key or transaction id before it leaves the process.
scripts/leak_check.pyfeeds canary strings and an address through a bill's memo, label and message and checks every agent API and MCP output, including stderr.- Owner window served on 127.0.0.1 behind the wallet password, with a strict Content-Security-Policy and an Origin check.
- CI on every push (build, tests, cargo audit); release binaries for Windows and Linux with SHA256SUMS; gitleaks run before release.
- Timeline: 5 Oct project skeleton and design; 21 Oct wallet core (create, sync, receive, send on testnet) and end-to-end agent-to-agent payment on testnet; 22 Oct v0.1.0; 26 Oct first mainnet payment (a Claude agent on the Claude API paid an owner-approved 0.001 ZEC bill between two zaw wallets, fee 0.0001 ZEC, seen as paid after 3 confirmations), v0.1.1, repository made public; 27 Oct v0.1.2 (optional USD amounts, top-up QR code, clearer owner forms).
Time Period of Work Completion
October 2026 (5 October - 27 October 2026)
Total Budget (USD)
$4,800
Budget Breakdown
- Compensation:
- $(USD): 4800
- Justification: About 80 hours of research and design, owner window design, Rust implementation, testing on testnet and mainnet, deployment, documentation, release work and the demo video, 5-27 October 2026, at $60/hour. Not time-tracked; my estimate (breakdown with commit links in the comments).
- Technology/Software:
- $(USD): 0
- Justification: Not claimed.
- Infrastructure/Hosting:
- $(USD): 0
- Justification: The public testnet playground runs on a server I already pay for; not claimed.
- Services/Contractors:
- $(USD): 0
- Justification: None.
- Other:
- $(USD): 0
- Justification: Mainnet test funds were my own and are not claimed.
- Total $(USD): 4800
Previous Funding
No
Previous Funding Details
No response
Other Funding Sources
Yes
Other Funding Sources Details
The project was entered in ZECATHON (Shielded Payments track). Judging runs until 22 November 2026 and results are due 23 November. I have received no prize or other funding for this work. If it wins any ZECATHON prize, I will withdraw this application, and I will post the result in this issue and in the forum thread on 23 November.
Success Metrics
- Completed and public: three releases (v0.1.0, v0.1.1, v0.1.2) with Windows and Linux binaries, a public repository under MIT, design and threat-model documentation, a security policy and a working example agent on the Claude API.
- Working on mainnet: a Claude agent paid an owner-approved bill in shielded ZEC between two zaw wallets on 26 October 2026, without the model seeing any address, memo or transaction id.
- Anyone can try it without installing anything: a hosted testnet playground runs two real wallets side by side; reviewers press the buttons an agent would call, see the exact JSON the model gets and approve bills in the owner window.
- Privacy is tested, not only claimed: the canary leak test passes on every tool output.
- Value for Zcash: it gives AI agents a shielded payment option through a standard protocol (MCP) instead of transparent chains. Among six similar agent-wallet projects I reviewed in October 2026, none kept addresses and memos away from the model.
- Adoption so far is small and I state it as it is: 6 binary downloads and no stars yet; the project was released two weeks ago.
Proof of completion
- Repository/Commit:
- Repository - Rust source, MIT, CI
- Wallet core commit - create, sync, receive and send on testnet
- Publication:
- Design and threat model - approval model, failure handling, what is not protected
- Security policy
- Deployment/Release:
- Release v0.1.2 - Windows and Linux binaries with SHA256SUMS
- Testnet playground - two live testnet wallets; owner password available to FPF reviewers on request
- Other Evidence:
- Demo video - 2 minutes, includes the mainnet payment
- Example agent on the Claude API - the agent that made the mainnet payment
Conflict of Interest Disclosure
None with FPF, ZCG or the keyholder organizations. The only related item is the pending ZECATHON entry described under Other Funding Sources.
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.