npm.io
1.0.3 • Published 5d ago

@jaw.id/core

Licence
MIT
Version
1.0.3
Deps
8
Size
2.2 MB
Vulns
0
Weekly
609

@jaw.id/core

Core SDK for JAW.id: embed smart account wallets into any app with passkeys signing, gas sponsorship, and granular permissions.

Documentation

For documentation and guides, visit docs.jaw.id

Installation

npm install @jaw.id/core
# or
bun add @jaw.id/core

Quick Start

import { JAW } from '@jaw.id/core';

const jaw = JAW.create({
  appName: 'My App',
  apiKey: 'your-api-key',
});

// Connect
const accounts = await jaw.provider.request({ method: 'eth_requestAccounts' });

// Send a batched transaction
const txHash = await jaw.provider.request({
  method: 'wallet_sendCalls',
  params: [{ calls: [{ to: '0x...', value: '0x0', data: '0x' }] }],
});

AI-Assisted Development

Add JAW.id skills to your AI coding agent:

npx skills add JustaName-id/jaw-skills

License

MIT