Documentation
Getting Started
APSpot provides token-gated Wi-Fi access using blockchain payments. Follow these steps to get connected:
- Connect your Web3 wallet (MetaMask, Coinbase, or Phantom)
- Purchase a Wi-Fi pass using USDC on Base Sepolia Testnet
- Receive your unique access token
- Connect to the APSpot network and verify your token
Supported Wallets
🦊
MetaMask
The most popular Ethereum wallet. Available as browser extension and mobile app.
🔵
Coinbase Wallet
Coinbase's official wallet with built-in USDC support and easy onramp.
👻
Phantom
Multi-chain wallet supporting Base Testnet and other EVM networks.
Why Base Sepolia Testnet?
APSpot is currently running on Base Sepolia Testnet, Coinbase's Layer 2 test network, offering:
- Low fees: Testnet transactions are essentially free
- Fast confirmations: Payments settle in seconds
- USDC native: Seamless testnet stablecoin payments
- Safe testing: Test the platform without real funds
Note: This is an alpha version running on testnet. No real funds are used.
Coinbase x402 Integration
We use Coinbase's x402 protocol for secure payment processing:
// Payment flow
1. Create payment intent with x402
2. User approves USDC transaction
3. Webhook confirms payment
4. Wi-Fi pass activated instantlyAPI Reference
POST /api/x402/create-intent
Create a payment intent for Wi-Fi pass purchase
{
"walletAddress": "0x...",
"chainId": 84532
}POST /api/passes/verify
Verify a Wi-Fi pass token
{
"token": "abc123...",
"deviceMac": "00:11:22:33:44:55"
}Security
APSpot is designed with security and privacy in mind:
- No personal information required
- Wallet-based authentication
- Encrypted payment processing via x402
- Time-limited access tokens
- Supabase Row Level Security (RLS) enabled
Need Help?
If you have questions or need assistance, please reach out:
Contact Support