Documentation Index
Fetch the complete documentation index at: https://docs.chipipay.com/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Gift card credits live on Starknet. When a recipient redeems to Solana, USDC is bridged via Circle’s CCTP V2 (Cross-Chain Transfer Protocol):Fast vs Standard mode
SetcctpFast when creating the gift:
| Mode | Attestation time | Fee | Best for |
|---|---|---|---|
cctpFast: true (default) | ~5 seconds | ~$0.01 per redeem | Real-time claims, good UX |
cctpFast: false | 4-8 hours | Free | Batch distributions where speed doesn’t matter |
Supported chains
| Destination | Status | Time |
|---|---|---|
| Starknet | Live | Instant (direct ERC20 transfer) |
| Solana | Live | ~24 sec (CCTP V2) |
| Base | Coming soon | — |
| Arbitrum | Coming soon | — |
| Ethereum | Coming soon | — |
Redeem flow for Solana
Status flow
| Status | Meaning |
|---|---|
PENDING | Redeem record created, not yet sent |
BRIDGING | CCTP burn submitted on Starknet, waiting for Circle attestation |
ATTESTED | Circle attestation ready, Solana receive pending |
SUCCESS | USDC delivered to recipient’s wallet |
FAILED | Something went wrong — check cctpBurnTxHash for the Starknet burn tx |
Technical details
- CCTP V2 contracts: TokenMessenger on Starknet (
0x07d421...), MessageTransmitter on Solana (CCTPV2Sm4...) - Domain IDs: Starknet = 25, Solana = 5
- Mint recipient: must be the Solana USDC Associated Token Account (ATA), not the wallet pubkey
- Circle attestation API:
https://iris-api.circle.com/v2/messages/25?transactionHash={txHash} - Server relay: Chipi’s server submits the
receiveMessagetransaction on Solana and pays the SOL gas fee
The recipient doesn’t need SOL for gas — Chipi’s relay pays for the Solana transaction.
