apiKey
Your JAW API key for authentication with JAW services.
Type: string
Required: Yes
Usage
// Wagmi
import { jaw } from '@jaw.id/wagmi';
const connector = jaw({
apiKey: 'your-api-key-here',
});// EIP-1193 Provider
import { JAW } from '@jaw.id/core';
const jaw = JAW.create({
apiKey: 'your-api-key-here',
});How to Get an API Key
- Visit the JAW Dashboard
- Create a new project or select an existing one
- Navigate to the API Keys section
- Generate a new API key
Setting Up Allowed Domains
For security, you must configure which domains are allowed to use your API key:
- In the JAW Dashboard, go to your api-key settings
- Find the Allowed Domains section
- Add the domains where your application will run:
localhostfor local developmentyourdomain.comfor productionstaging.yourdomain.comfor staging environments
Requests from domains not in your allowed list will be rejected.
Related Configuration
- appName - Application name
- preference - Advanced options