AI Prompts
🤖 Quick Implementation Prompt
Use this prompt with any AI service to generate a complete RozoAI Intent Pay implementation:
Create a React component with RozoAI Intent Pay SDK for crypto payments.
Key points:
- Use demo app ID "rozoDemo" for testing
- CRITICAL: Use getDefaultConfig from @rozoai/intent-pay
(NOT createConfig from wagmi)
- For Base USDC: use baseUSDC, wrap addresses with getAddress()
- For Stellar USDC: use rozoStellarUSDC, use Stellar addresses as strings
- toUnits: human-readable string (e.g., "10" for 10 USDC)
- Must call resetPayment() when payment params change
- Add onPaymentStarted and onPaymentCompleted handlers
For complete setup instructions and requirements, refer to:
https://docs.rozo.ai/integration/rozointentpay/quick-start.md🚀 One-Click Generation
Lovable
Last updated