Overview
This guide points to a reference repository that shows you how to integrate DeFindex vaults using Privy server wallets enabling fully automated, server-side deposits, withdrawals, and cross-chain bridging with zero user interaction. The pattern relies on Privy’s Authorization Key (TEE-backed) to sign Stellar transactions from your backend, making it ideal for custodial products, bots, and programmatic yield strategies.Repository
defindex-io/privy-defindex-guideWhat the Repository Covers
Architecture at a Glance
- Authenticated
POSTto Defindex API → receive unsigned XDR - Parse XDR → hash it
privy.rawSign(walletId, { hash })→ Ed25519 signature- Attach
DecoratedSignatureto the envelope POSTsigned XDR to/send
Quick Start
Prerequisites
- Privy app with TEE enabled and an Authorization Key configured
- Defindex API key — generate one at console.defindex.io under API Keys