An AI-powered shopping assistant that helps you purchase items from Amazon with an onchain balance.
- Natural language shopping interface
- Cryptocurrency payments (USDC on Solana)
- Automatic order processing and receipt
- Real-time wallet balance display
- Secure transaction handling
- Clone the repository:
git clone https://github.com/crossmint/amazon-shopper.git
cd amazon-ai-shopper- Prerequisites:
- Node.js & pnpm installed
- Solana wallet with private key
- USDC balance on Solana
- OpenAI API key
- Crossmint API key (with required scopes)
- Install dependencies:
pnpm install- Set up environment variables:
cp .env.template .envConfigure the following in your .env:
WALLET_PRIVATE_KEY: Your Solana wallet's private keyRPC_PROVIDER_URL: Solana RPC endpoint (e.g., Helius)OPENAI_API_KEY: Your OpenAI API keyCROSSMINT_API_KEY: Your Crossmint API key (you only need one scope:orders.create)
- Start the development server:
pnpm start- Visit the application in your browser
- Your wallet balance will be displayed at the top
- Start a conversation with the AI assistant
- Share what you'd like to buy from Amazon
- Provide shipping details when prompted
- Confirm the purchase
- Track your order via email notifications
After purchase you'll receive an order confirmation email.