๐ฆ
npm package ยท v1.1.4
ENS SDK
TypeScript SDK for Web3 Identity
Official SDK for ENS resolution and Web3 identity infrastructure. Seamlessly handles x402 micropayments, includes SIWE authentication helpers, and provides full TypeScript support with 1,593 verified endpoints.
npm
@atv-eth/x402-sdk
View on npm โ
npm install @atv-eth/x402-sdk
v1.1.4
Latest Version
1,593
API Endpoints
50KB
Bundle Size
0
Dependencies
๐ง What does this SDK do?
๐ณ
Auto Payments
Handles x402 micropayments automatically with Base USDC
๐
Full TypeScript
Complete type definitions for all 1,593 API endpoints
๐
SIWE Helpers
Easy Sign-In with Ethereum authentication built-in
๐ชถ
Lightweight
Only 50KB with zero external dependencies
โก Quick Start Example
import { Web3IdentityClient } from '@atv-eth/x402-sdk'; // Initialize the client const client = new Web3IdentityClient(); // Resolve ENS name to address const profile = await client.getProfile('vitalik.eth'); console.log(profile.address); // Get DeFi protocol TVL const tvl = await client.getDefiTVL('aave'); console.log(tvl.totalTVL); // Authenticate with SIWE const auth = await client.siweAuth(address, signature);
๐ชช ENS Resolution
๐ฅ Farcaster Profiles
๐ DeFi Protocol Data
๐ฐ Token Prices
๐ก๏ธ Security Audits
โ๏ธ Multi-Chain Support
๐ Real-Time Data
๐ Portfolio Analytics