CopperPouch Developer docs
Merchant console

Software licensing & release channels

Issue high-entropy license keys automatically on verified payment, enforce device limits with Ed25519 proof-of-possession keys, support up to 30 days of signed offline operation, and ship virus-scanned releases with instant channel rollback.

Native device activation with @copperpouch/sdk-js

Every installation generates its own Ed25519 keypair, fetches a short-lived server challenge, and signs the activation transcript. The server returns a policy decision and a signed offline lease bound to that exact device and hardware commitment:

import { createCopperPouchClient, generateDeviceKey, verifyOfflineLease } from '@copperpouch/sdk-js';

const client = createCopperPouchClient({ apiOrigin: 'https://api.copperpouch.com' });
const signer = await generateDeviceKey(); // Persist this device keypair securely

const { data } = await client.licensing.activate({
  productPublicId: 'YOUR_PRODUCT_PUBLIC_ID',
  signer,
  licenseKey: userEnteredKey,
  version: '2.4.0',
  platform: 'macos',
  displayName: 'MacBook Pro',
});

if (data.allowed && data.offline_lease) {
  const verified = await verifyOfflineLease(data.offline_lease, PINNED_ISSUER_PUBLIC_KEY);
  // Runs offline until verified.expires_at without calling the server
}

Immutable policy versioning

License policies control device limits (1–1,000, scaled automatically by order quantity), optional lifetime activation caps, strict hardware commitments, maintenance update windows, nested platform/version/country rules, and offline lease duration (up to 30 days). Every checkout snapshots the published policy version so later edits never alter existing buyers’ terms.

Versioned releases & signed downloads

Upload binaries in the console—every file is scanned with ClamAV before release and stored with its SHA-256 checksum. Publish builds onto Stable, Beta, or custom channels, and roll any channel pointer back instantaneously without breaking historical downloads. Entitled buyers download via 60-second signed links verified against current order and licence standing.

Migrating from Lemon Squeezy?

Keep existing apps validating without shipping an urgent rewrite: import your keys and active device instances, then swap the base URL using our Lemon Squeezy migration guide.