Skip to content

Example: private mint with wrapper program - #59

Draft
Roee-87 wants to merge 4 commits into
mainfrom
examples/private-mint-with-wrapper
Draft

Example: private mint with wrapper program#59
Roee-87 wants to merge 4 commits into
mainfrom
examples/private-mint-with-wrapper

Conversation

@Roee-87

@Roee-87 Roee-87 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

One of the limitations of using the Circle XReserve bridge for USDCx is that recipient Aleo addresses are public information due to their inclusion in the deposit payload. Privacy oriented users may be reluctant to mint USDCx themselves if their address is publicly visible in any transaction information.

The wrapper program solves this issue by having funds deposited to a wrapper program and atomically transferred to the intended recipient in shielded state.

Use the following command to run the tests:

PRIVATE_MINT_E2E=1 pnpm exec vitest run examples/private-mint/tests/private-mint.test.ts 

@Roee-87 Roee-87 self-assigned this May 18, 2026
@vercel

vercel Bot commented May 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
veil-loyalty-dapp Ready Ready Preview, Comment May 18, 2026 6:24pm

Request Review

@Roee-87 Roee-87 changed the title Examples/private mint with wrapper Example: private mint with wrapper program May 18, 2026
@Roee-87 Roee-87 added the demo label May 18, 2026

@iamalwaysuncomfortable iamalwaysuncomfortable left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, but could you add a readme.md along with the example?

@iamalwaysuncomfortable iamalwaysuncomfortable linked an issue May 18, 2026 that may be closed by this pull request
@Roee-87 Roee-87 mentioned this pull request May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement USDC minting tests using Veil Test Client

2 participants