Chinki

Gift USDT without gas. Claim a prepaid local fiat card with a passkey.

Chinki

Created At

ETHGlobal Mumbai

Project Description

Chinki turns a personal gift into a prepaid dollar card, paid for in USDT. A sender chooses an envelope design, an amount, a private note and a claim window, then signs one gasless authorization. The recipient opens a private link, confirms a passkey and claims one card with a spending budget matching the gift without connecting a wallet.

Each gift has its own card and a live budget ledger. Card approvals reserve available value; cleared purchases settle against the gift on Whitechain. Unused value returns to the sender after expiry and reconciliation. The sender can follow funding, claiming, spending and returns through verifiable receipts. Personal notes are encrypted in the browser and opened with the private gift link.

The current demo uses official test USDT on Whitechain testnet and genuine Lithic sandbox cards. Card purchases are simulated; no real money moves and USDT is not converted into card funds. Campaign limits are per passkey, not proof of one unique person.

How it's Made

Chinki is built with Next.js, React, TypeScript and PostgreSQL. The sender signs an EIP-712/EIP-3009 USDT authorization. A sponsored relayer calls receiveWithAuthorization through our gift vault on Whitechain testnet, so the sender does not need WBT for gas. Gift terms and a private-link secret hash are committed to the authorization nonce.

Recipients authenticate using WebAuthn passkeys. The browser encrypts gift notes with AES-GCM using key material derived from the link secret. After the on-chain claim confirms, a durable worker creates one gift-sized Lithic sandbox virtual card. Sensitive card details are displayed only through short-lived Lithic-hosted frames; our API never serves PAN or CVV.

Signed Lithic Auth Stream Access requests use a transactional PostgreSQL ledger to reserve budget synchronously. Provider clearing events are reconciled asynchronously and enqueue idempotent partial vault settlements. Expiry closure waits for outstanding holds and settlements before returning unused value. Ambiguous card issuance is recovered by its persisted reference instead of blindly creating another card.

The deployed vault, real testnet receipts, unit/integration tests and browser passkey checks are in the public repository. Whitechain provides the official USDT authorization and settlement rail; Lithic provides card issuance and the sandbox purchase lifecycle.

background image mobile

Join the mailing list

Get the latest news and updates