Replit Integration

Replit + Meridian

Add hardware-locked licensing to your Replit-hosted backend in under 5 minutes. No database, no auth boilerplate.

Step 1

Add your license key to Secrets

Open the Secrets tab in your Replit workspace and add a new secret. This keeps your key out of source control.

MERIDIAN_LICENSE_KEY=ml_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Get your license key from the Meridian dashboard.

Step 2

Install the SDK

Run this in the Replit Shell — the package is pre-approved in the Replit package registry.

npm install meridian-node
Step 3

Wire up validation

Drop this into your Express or Fastify route handler. The SDK reads the secret automatically.

import meridian from 'meridian-node';

const client = new meridian.Client({
  licenseKey: process.env.MERIDIAN_LICENSE_KEY,
});

async function validateUser(hwid: string) {
  const result = await client.validate({ hwid });
  if (!result.valid) throw new Error('License invalid');
  return result;
}
Step 4

Deploy and test

Hit Deploy in Replit. Your endpoint is now gated behind hardware-locked license validation. Send a test request with a valid HWID to confirm.

curl -X POST https://your-repl.co/validate -H "Content-Type: application/json" -d '{"hwid": "test-hwid"}'

Ready to ship?

Grab a license key and start protecting your Replit backend today.

Get a License Key