npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

clawwallet-sdk

v0.1.0

Published

ClawWallet SDK — ERC-8004 identity, skills, and agent wallets on Abstract Chain

Readme

@claw/sdk

npm version npm downloads License: MIT

TypeScript SDK for ClawWallet — ERC-8004 agent identity, skills, wallet factory, and dividends on Abstract Chain.

Install

npm install @claw/sdk viem

Quick Start

import { createPublicClient, createWalletClient, http, privateKeyToAccount } from 'viem'
import { abstractMainnet, registerAgent, getAgentByName, installSkill } from '@claw/sdk'

const publicClient = createPublicClient({
  chain: abstractMainnet,
  transport: http(),
})

const account = privateKeyToAccount('0x...')
const walletClient = createWalletClient({
  chain: abstractMainnet,
  transport: http(),
  account,
})

// Register an agent
const txHash = await registerAgent(walletClient, JSON.stringify({
  name: 'myagent',
  type: 'agent',
  platform: 'ClawWallet',
}))

// Look up an agent by name
const agent = await getAgentByName(publicClient, 'myagent')
console.log(agent.tokenId, agent.agentWallet)

// Install a skill
await installSkill(walletClient, '0x...skillAddress')

API Reference

Identity (ERC-8004)

| Function | Description | |---|---| | getAgent(client, tokenId) | Fetch agent by token ID | | getAgentByName(client, name) | Fetch agent by name | | getAgentsByOwner(client, owner) | All agents owned by address | | totalAgents(client) | Total registered agents | | registerAgent(walletClient, agentURI, fee?) | Register a new agent |

Skills

| Function | Description | |---|---| | getSkill(client, skillAddress) | Fetch skill metadata | | getInstalledSkills(client, agentId) | Skills installed by agent | | installSkill(walletClient, skillAddress, fee?) | Install a skill (default 0.0005 ETH) |

Wallet Factory

| Function | Description | |---|---| | getWallet(client, agentId) | Get agent's smart wallet address | | createWallet(walletClient, agentId) | Deploy a new smart wallet for agent |

Dividends

| Function | Description | |---|---| | getPendingDividends(client, owner) | Unclaimed ETH dividends | | getTotalDistributed(client) | All-time dividends distributed | | claimDividends(walletClient) | Claim pending dividends |

Chains

import { abstractMainnet, abstractTestnet } from '@claw/sdk'

Addresses

import { getAddresses } from '@claw/sdk'
const addrs = getAddresses(2741) // Abstract Mainnet

Contract Addresses

Abstract Mainnet (chainId: 2741)

  • ERC8004IdentityRegistry V2: 0x01949e45FabCD684bcD4747966145140aB4778E5
  • ClawSkillRegistry V2: 0xb9913F4fceA83fF3F9c7D56339Abc196408Cf21b
  • ClawWalletFactory V2: 0xf6B945dBf532D376A475E31be32F51972915B1cc
  • ClawDividends: 0x3441aa2Bf84EDF9f44A2ad3b93BDCce7D801Fb06
  • PinchToken: 0xF8e86087dc452a52aA5d1bb66FaE56F869C33412

Abstract Testnet (chainId: 11124)

  • ERC8004IdentityRegistry: 0xdc3D5b2E6c67CD3e695e53105604Cf0799Dc0AB3
  • ClawSkillRegistry: 0x3E1B5b8baC6d88652e695E7C60eb3BB20D58f078
  • ClawWalletFactory: 0x32dA970c0578CFFAa2D71233dAC06219a8e0058F

Links