Frequently asked questions

How do I add license key validation to my app?

Install monemee-client for JavaScript or monemee for Python, call activate(key) once and check() on every start. Monemee generates and emails the keys and handles device limits, expiry dates and refunds.

Does license validation work offline?

Yes. Every response is signed with Ed25519. The SDK stores the last valid response and accepts it without a connection for a configurable grace period, seven days by default. Tampered or foreign responses are rejected.

Do I need my own database to track who paid?

No. Purchases are bound to the user ID of your existing login. Your server calls hasAccess(userId), and the SDK caches the answer for five minutes.

How do I test the purchase flow without paying?

npx monemee init creates a test secret. Run npx monemee test-buy or click the test purchase button in the paywall. Test licenses behave like real ones and are only visible in test mode.

Which frameworks are supported?

Express and Next.js on the server, plus runtimes with Web-standard Request and Response such as Hono, Bun and Deno. React in the browser. Electron, Tauri, browser extensions and Node CLIs for downloadable software. Python with Flask, FastAPI and Django.

What happens when a buyer asks for a refund?

The license is revoked. With webhooks your app learns about it immediately, otherwise within five minutes for web apps and on the next online check for desktop apps.

Can buyers share their license?

A redeemed license belongs to exactly one user of your app, so a forwarded link or key does not unlock a second account. For desktop software you set a device limit per key.

What does it cost?

The SDK is free and MIT licensed. Monemee charges a fee per sale that drops from 29% to 9% as your revenue grows. There is no monthly fee.

Can my AI coding assistant set this up?

Yes. Tell Claude Code, Cursor or Copilot to sell the app with Monemee. They read AGENTS.md in the repository; ready-made skills for Claude Code and Cursor are included.

Last updated: