AI-powered payment link generation platform built on the Hedera blockchain network. Create one click payment links with beautiful custom interfaces.
- AI-Powered Link Generation: Create payment links using natural language prompts powered by AI
- Custom Payment Interfaces: Generate beautiful, payment pages with custom modern design as ber your need powered by AI
- One-Click Payments: Execute transactions and pay with a single click
- Reusable Templates: Create and manage multiple payment links for different purposes
- Hashconnect Support: Seamless integration with Hedera wallet ecosystem
- WalletConnect Protocol: Secure wallet connection using industry standards
- React 18 with TypeScript
- Tailwind CSS for styling
- Client-side routing with App Router
- Real-time wallet state management
- API Routes for payment link management
- Supabase for data persistence
- OpenAI for AI-generated content
- Hedera SDK for blockchain interactions
- Hedera for fast, low-cost transactions
- Hashconnect for wallet connectivity
- HBAR Transfers: Native cryptocurrency transfers
- Memo Support: Optional transaction memos
- Atomic Transactions: Guaranteed transaction integrity
- Template Generation: Create unsigned transaction with recipient and amount
- Wallet Signing: User signs transaction with connected wallet
- Network Submission: Signed transaction submitted to Hedera network
- Node.js 18+
- npm or yarn
- Supabase account
- OpenAI API key
- WalletConnect Project ID
git clone https://github.com/priyanshur66/hashlinks
cd hashlinksnpm installCreate a .env.local file with the following variables:
# Hedera Network Configuration
HEDERA_NETWORK=testnet
NEXT_PUBLIC_HEDERA_NETWORK=testnet
# Database Configuration
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
# AI Integration
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-4o
# Wallet Integration
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_idnpm run devThe application will be available at http://localhost:3000
npm run build
- Connect Wallet: Use HashConnect to connect your Hedera wallet
- Navigate to Save: Go to
/savepage - Enter Recipient: Provide Hedera account ID (e.g., 0.0.1234)
- Describe Payment: Use natural language to describe the payment purpose
- Generate with AI: Let AI create the payment template and interface
- Customize: Edit generated title, amount, memo, and description
- Save Link: Store the payment link for future use
- Browse Links: Visit
/payto see all available payment links - Select Link: Click on any payment link to open it
- Review Details: Verify recipient, amount, and memo
- Connect Wallet: Ensure your wallet is connected
- Execute Payment: Click "Pay" to submit the transaction
- Confirm: Sign the transaction in your wallet
POST /api/generate-link- Generate AI-powered payment template
POST /api/payments- Record payment transaction
POST /api/tx/transfer- Generate unsigned transfer transaction