Fuyu developer documentation
Use Fuyu to send private payments, swap tokens or hold vault shares. These docs cover the app and the code behind it.
If you're building an app, the guides below explain payment sessions, DeFi adapters and selective disclosure. You'll also find contract references, SDK examples and instructions for running your own infrastructure.
Start with Connect to Fuyu, then send your first payment.
Start here#
Build an app#
Pay a private receiving address and return any remaining value as change.
Payment LinksGet paid from an external wallet or send a claim link to an unregistered recipient.
SwapsUse an approved Uniswap route and receive the returned tokens as a private note.
Earn & Vault PositionsSupply assets to a vault, track your private shares and use its redemption path.
Batch PaymentsPay several recipients or combine small notes in one router transaction.
Withdrawals & ExitsWithdraw to a public wallet and recover any private change after confirmation.
Selective DisclosureProve a supported fact about your account without sharing its private history.
Account & Payment RecoveryReopen your account or finish an interrupted payment using its saved authorization.
Migrate to FuyuWithdraw from another privacy protocol into a new Fuyu note on the same chain.
Safe TreasuriesUse private notes that also require approval from your Safe.
Reference and operations#
Find the payment SDK, proof tools and independent audit verifier in the protocol checkout.
Integrate FuyuAdd funded payment rails and service accounting to your application.
Fuyu APIRead deployment configuration, submit prepared proofs and track payment state.
Fuyu ProtocolLearn how the Pool stores private notes and executes spends and external actions.
Run InfrastructureRun deployment, relay and recovery services without holding private account secrets.
Fuyu Policy LanguageWrite account-history questions and check which evidence their answers need.
How Fuyu works#
Your private balance is a collection of notes. To spend them, your wallet creates a proof and the Pool verifies it onchain. The recipient's wallet recovers the new note from its encrypted delivery. You can also choose to share a verified answer about your account through selective disclosure.