Lightning Wallet
API Key Management
Test API
Test the Hello API endpoint. A Lightning Invoice will be generated and you'll receive a response after payment.
API Documentation
View comprehensive documentation for the Qubitchain Gateway API, including endpoints, examples, and integration guides.
๐ View API DocumentationVirtual Annealing Machine
Experience quantum-inspired optimization with our Virtual Annealing Machine. Pay with LOT tokens (ERC-20) via MetaMask to run simulated annealing computations for solving complex optimization problems using the Ising model.
Simulated annealing algorithm for energy minimization and combinatorial optimization
Pay with LOT tokens via MetaMask - 10 LOT per computation run
All computations run locally in your browser - no backend required
Features
โก Lightning Fast
Instant payment confirmation via Lightning Network. API requests complete in seconds.
๐ฐ Micropayments
Ultra-low cost at just 5 sats per request. Perfect for micropayment use cases.
๐ Secure
API Key-based access control. Secure payments backed by Lightning Network cryptography.
๐ Decentralized
Runs entirely on the decentralized Bitcoin Lightning Network.
๐ Usage Tracking
Track usage and billing history for each API Key in real-time.
๐ Easy Integration
Simple REST API. Integrate with your existing applications effortlessly.
How It Works
Generate API Key
Click the "Generate API Key" button to create a new API Key. Use this key to access the API.
Make API Request
Send a request to the API endpoint with your API Key. A Lightning Invoice will be generated for each request.
Pay with Lightning
Pay the invoice using your Lightning wallet (Phoenix, Muun, Blue Wallet, etc.). Simply scan the QR code to complete payment.
Receive Response
Once payment is confirmed, the API response is instantly returned. All transactions are securely processed on the Lightning Network.
Quick Start
- Setup LNbits: Create a wallet at legend.lnbits.com
- Configure API Keys: Add your LNbits Invoice Key and Admin Key to config.js
- Generate API Key: Click "Generate API Key" button above
- Test: Try the "Test API" section to make your first request
- Integrate: Integrate the API into your application