QNet SDK

The QNet SDK powers micropayment-gated content, wallet-to-wallet messaging, and AI-resistant page serving. Document initialization, page gating hooks, and event listeners with runnable samples.

Quick Start

import { QNetClient } from '@quantumproof/qnet-sdk';

const client = new QNetClient({
  appId: 'demo-site',
  paywall: {
    amount: '0.002',
    asset: 'QP',
    description: 'Access premium research'
  }
});

client.on('ready', () => {
  console.log('QNet connected, visitor verified');
});

Add install instructions (npm/CDN) and TypeScript definitions once packages publish.

Integration Checklist

  • Create QNet application keys in the dashboard.
  • Configure pricing tiers and throttle limits per route.
  • Register webhooks for settlement and reputation updates.

Image placeholder: flowchart of visitor → QNet paywall → page unlock. Consider using /assets/qplog.webp as base.