Set up your local environment
Install the SDK
Install the SDK
- Install the Union Private Payments SDK
Run a prover locally.
Run a prover locally.
- Ensure docker is installed.
- Pull and start the container:
Construct a transfer and a zero knowledge proof
Setup a wallet
Setup a wallet
Install the Mintlify GitHub app from your dashboard.Our GitHub app automatically deploys your changes to your docs site, so you don’t need to manage deployments yourself.
Create a transfer
Create a transfer
For a first change, let’s update the name and colors of your docs site.
- Open
docs.jsonin your editor. - Change the
"name"field to your project name. - Update the
"colors"to match your brand. - Save and see your changes instantly at
http://localhost:3000.
Fetch attestation
Fetch attestation
Pre-generate withdrawal ZKP
Pre-generate withdrawal ZKP
Submit the transaction onchain and track progress
Sign and submit
Sign and submit
- Commit and push your changes.
- Your docs will update and be live in moments!
Next steps
Explore various usecases for Union Private Payments.Payroll
Send (streaming) payments to contractors and employees privately
Exchange Deposits
Receive deposits from users without disclosing user wallets or flow of funds.
AI Payments
Micropayments for x402 without revealing personal identifiable data.
On/Offramp
Connect bank accounts with stablecoins while preserving banking confidentiality.