This repo provides a runnable MVP that demonstrates the send → claim → payout flow using Stellar testnet (native XLM for demo), JWT claim links, and email sending.
Important: This is an MVP demo. For production Env would be replaced with native XLM and USDC on Stellar or other chain, to add HSM/MPC for key storage, KYC/AML, and hardened security.
- Copy
.env.exampleto.envand fill values. - Build and start:
docker-compose up --build - Run Prisma migrate and generate client (from host or inside container):
npx prisma migrate dev --name init
- Use Postman to call endpoints (import
postman_collection.json).
POST /transfers- create a transfer, generate claim link, and send emailPOST /claims/:token- claim transfer (provide recipientEmail and destination if desired)