Offline License Kit mark Offline License Kit
One-time digital download · Node 18+

Mint Ed25519 license keys yourself. Verify them offline.

A $29 pack for indie makers shipping desktop, Electron, or CLI apps. Signed OLK1.… keys, public-key verification in the shipped app, and no monthly licensing SaaS.

Node built-in crypto · no npm Private key stays on your mint machine $29 once, not $9–29 / month Test suite included
Offline License Kit overview: generate a key pair, mint an OLK1 license, and verify it offline with the public key
The three-step path: generate-keypair → mint-license → verify-license.

Why not just pay a licensing SaaS?

Monthly tools are fine if you want a hosted portal. If you only need cryptographic offline licenses you control, a subscription is the wrong shape.

Typical licensing SaaS Offline License Kit
Cost $9–29 every month $29 once
Who holds the keys Their servers, their SDK You mint with private.pem; only public.pem ships in the app
Verification Often needs a network check Offline, Ed25519, public key only
Dependencies Vendor SDK / npm install Node.js built-in crypto only
What you get Hosted activation and dashboards CLIs, library, app-gate snippet, Polar mint stub, tests

How it works

Three commands. The format is fixed: OLK1.<payload>.<signature>, with product id, optional email, seats, feature flags, and expiry inside the signed payload.

1

Generate the key pair

Create an Ed25519 private.pem and public.pem once. Keep the private key on the machine that mints licenses.

2

Mint a signed key

Issue an OLK1.… string for a buyer: product id, seats, features, and an optional expiry, signed with the private key.

3

Verify offline in the app

Ship only the public key. The app checks the signature, product, seats, features, and expiry with no network call.

# 1. Key pair (once)
node src/generate-keypair.js --out ./keys

# 2. Mint
node src/mint-license.js \
  --product my-desktop-app \
  --key ./keys/private.pem \
  --email buyer@example.com \
  --seats 1 \
  --feature pro

# 3. Verify
node src/verify-license.js \
  --key ./keys/public.pem \
  --license 'OLK1....' \
  --product my-desktop-app

# Embed keys/public.pem in the app. Keep private.pem secret.

See the kit, not a slide

These are the actual mint CLI, verify CLI, and in-app gate from the pack.

Terminal minting a signed OLK1 license key for demo-app with one seat and a pro feature flag
Mint CLI — issue a signed OLK1.… key with seats and features.
Terminal verifying an OLK1 license offline against the public key
Verify CLI — offline check with the public key only.
Product overview showing the three-step generate, mint, and verify workflow
Overview of the generate → mint → verify path.
In-app license gate snippet checking a signed key before unlocking the product
In-app gate snippet for Electron or CLI tools.

What’s in the ZIP

Version 1.0.0. Instant file download from Polar after checkout.

  • src/lib/license.jsCore mint and verify library, Node crypto only.
  • src/generate-keypair.jsCreate the Ed25519 PEM key pair.
  • src/mint-license.jsCLI to issue signed keys.
  • src/verify-license.jsCLI to verify a key offline.
  • examples/app-gate-snippet.jsDrop-in gate for the shipped app.
  • examples/polar-order-mint-stub.jsAdapt this to mint a key after a paid Polar order.
  • tests/run-tests.jsAutomated checks for the format and crypto path.
  • LICENSE.txt + READMEUsage terms: use and embed in your own products; do not resell the kit as a competing pack.

Honest limits in v1

This is a kit you run, not a hosted licensing company.

One-time purchase
$29 USD, lifetime of this pack
  • Full source of the mint / verify path
  • CLIs, app-gate snippet, Polar webhook stub
  • Automated test suite and buyer README
  • Instant ZIP download after Polar checkout
  • Use and embed in your own products
Buy on Polar · $29

Who it’s for

Indie developers selling desktop, Electron, or CLI tools who need cryptographic offline verification — not a random storefront string, and not another monthly bill.

Not the right fit if

You only need Polar’s built-in random keys with an online check, or you want hosted device locking and a customer activation portal. Those are different products.

Sold by LJ Corp. Checkout and file delivery are handled by Polar as merchant of record.

Frequently asked questions

Straight answers, including what this pack does not do.

Do I still need a monthly licensing SaaS?

No. This is a one-time $29 download. You generate the key pair, mint signed keys on your machine, and verify them offline in the shipped app with the public key only.

What do I need to run it?

Node.js 18 or newer. There is nothing to install from npm. The pack uses Node’s built-in crypto.generateKeyPairSync('ed25519').

Can I hook this up to Polar checkout?

Yes. The ZIP includes a paid-order mint stub you can adapt to your webhook so a successful payment can mint a signed key. It does not replace Polar’s own random license-key benefit.

Does this include device locking or a customer portal?

Not in v1. Seats and feature flags are signed claims you enforce in your app. If you need revocation, keep a deny-list or issue short expiries. Private-key custody is yours.

Is this just something I could prompt a chatbot for?

A chatbot can sketch signing code. This pack is the tested path from keygen to mint to in-app gate, with a fixed OLK1. format, a CLI, a Polar stub, and a test suite.