APX Claim — Test Page

Simulate the full claim + send flow end-to-end.

Step 1 — Connect Wallet (Claim)

$47.00 USD

Step 2 — Simulate Fulfillment (Send APX)

Admin only. Directly calls testSendApx backend function.

Setup Checklist

  1. 1. Set SOLANA_RPC_URL — e.g. Helius or QuickNode endpoint
  2. 2. Set APX_MINT_ADDRESS — your SPL token mint pubkey
  3. 3. Set HOT_WALLET_PRIVATE_KEY — base58 encoded keypair that holds APX
  4. 4. Set APX_PER_DOLLAR — e.g. 10 = 10 APX per $1 spent
  5. 5. Set SHOPIFY_WEBHOOK_SECRET — from Shopify Admin → Settings → Notifications → Webhooks
  6. 6. In Shopify, register webhook for fulfillments/create pointing to your shopifyWebhook function URL
  7. 7. Add <ClaimApxButton> to your order confirmation page with orderId + orderTotal props