Nautica Licenses

DEVELOPER RESOURCES · RC2

Build with Nautica.

Integrate license validation into your own software. Download a language-specific source package, configure your Worker URL and start with a working API example.

SDK preview release. Local source and mock tests do not establish production security or live Cloudflare compatibility. See individual verification notes below.

Choose your language

Before integrating

  1. Deploy RC2 to your own Cloudflare account using the installation guide.
  2. Create an application, select Copy ID and generate a disposable test license.
  3. Download and extract your SDK. Install its listed language tools and dependencies.
  4. Generate a random installation UUID once, store it privately, and reuse it across launches. Set the example variables below in CMD, replacing every placeholder.
set "NAUTICA_URL=https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev"
set "NAUTICA_APP_ID=YOUR-FULL-APPLICATION-ID"
set "NAUTICA_DEVICE_ID=YOUR-PERSISTENT-INSTALLATION-UUID"
set "NAUTICA_LICENSE_KEY=YOUR-TEST-LICENSE"

Python asks for a license key interactively. Use test credentials only; do not embed secrets in code or publish them. Clear temporary credentials after testing.

Language setup guides

C++

Install a C++17 compiler (Visual Studio Build Tools or GCC), CMake and libcurl + json-c development packages. On Windows with vcpkg, install `curl:x64-windows json-c:x64-windows`, then configure CMake using the vcpkg toolchain. Replace the path below. Keep your platform CA trust configured; never disable certificate verification.

cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
build\Release\nautica-example.exe

Use the README in the SDK ZIP for full setup and integration details.

C#

Install the .NET SDK (not just the runtime). The project targets .NET 8; no additional NuGet dependencies.

dotnet run --project NauticaExample.csproj

Use the README in the SDK ZIP for full setup and integration details.

Python

Install Python and verify `python --version`. No pip packages needed.

python example.py

Use the README in the SDK ZIP for full setup and integration details.

JavaScript

Use Node.js, not a browser. No npm packages needed.

node example.mjs

Use the README in the SDK ZIP for full setup and integration details.

Java

Install a JDK and Maven. Maven downloads Gson and build plugins declared in pom.xml. Review the dependencies before building.

mvn compile exec:java -Dexec.mainClass=Nautica

Use the README in the SDK ZIP for full setup and integration details.

Rust

Install a supported stable Rust toolchain. On Windows you may need Visual Studio C++ Build Tools for the MSVC target. Cargo downloads dependencies declared in Cargo.toml. Review dependencies before building.

cargo run

Use the README in the SDK ZIP for full setup and integration details.

API reference

POST /api/v1/validate · HTTPS · Content-Type: application/json

{
  "application_id": "YOUR-APPLICATION-ID",
  "license_key": "YOUR-LICENSE-KEY",
  "device_id": "YOUR-PERSISTENT-INSTALLATION-UUID"
}

Successful validation

{"valid":true,"expires_at":null,"version":"1.0.0"}

Denied validation

{"valid":false,"reason":"invalid_or_inactive"}

expires_at is a Unix timestamp in seconds or null for lifetime. Another denial reason is activation_limit_or_inactive. HTTP 429 means rate limited; HTTP errors, malformed responses and network failures must not grant access. RC2 allows up to 60 validation requests per IP per minute.

Security and limitations

Only grant access when HTTP 200 contains the boolean valid: true. The clients use normal HTTPS certificate verification. Never distribute your ADMIN_SECRET or LICENSE_VAULT_KEY. RC2 does not support cross-origin browser validation; use server-side JavaScript. No SDK makes client-only licensing tamper-proof, and no automatic offline validation is included. Use these SDKs only for software you own or are authorized to license.