Get from zero to a working check() call in three steps.

Before you start

  1. Dashboard setup — KYI Framework On for your app
  2. Copy your application API key from the dashboard (Overview or app settings)

Step 1 — Install the SDK

Package: npm @abstraxn/warrant

Step 2 — Add environment variables

Create a .env file on your server (never commit real keys to git):
The SDK uses https://api-warrant.abstraxn.com when apiUrl is omitted. Set WARRANT_URL only for a custom host or local testing.

Step 3 — Create mandate, then check

A. Create mandate (application key):
B. Check before action (mandate key):

Checklist

  • KYI Framework enabled in dashboard
  • ABSTRAXN_API_KEY in server .env
  • Mandate created with owner signature
  • WARRANT_MANDATE_API_KEY saved securely
  • check() called before irreversible actions
  • DENY path does not run the real transfer/tool

What next?