Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Mar 19:21
· 12 commits to main since this release
e5016d0

@azeth/sdk v0.2.0

TypeScript SDK for Azeth — trust infrastructure for the machine economy.

Features

  • AzethKit — Single entry point for all operations: accounts, payments, discovery, messaging, reputation
  • Smart Accounts — Deploy ERC-4337 accounts with guardian-enforced spending limits via ZeroDev Kernel
  • x402 Paymentsagent.pay(url) pays for any x402-gated service with automatic USDC settlement
  • Service Discovery — Search the ERC-8004 trust registry by capability, entity type, and reputation
  • On-Chain Reputation — Submit and query payment-weighted reputation scores
  • XMTP Messaging — End-to-end encrypted agent-to-agent communication
  • Payment Agreements — Recurring subscriptions with on-chain enforcement
  • Guardian Security — Co-signing support, auto-sign mode, XMTP interactive approval

Quick Start

import { AzethKit } from '@azeth/sdk';

const agent = await AzethKit.create({
  privateKey: '0x...',
  chain: 'baseSepolia',
});

await agent.createAccount({
  name: 'MyAgent',
  entityType: 'agent',
  description: 'Autonomous data analyst',
});

const services = await agent.discoverServices({ capability: 'weather-data' });
const result = await agent.pay(`${services[0].endpoint}/api/weather/london`);
await agent.submitOpinion({
  serviceTokenId: services[0].tokenId,
  success: true,
  qualityScore: 90,
});

Links

Full Changelog: https://github.com/azeth-protocol/sdk/commits/v0.2.0