siwa
SIWA (Sign-In With Agent) authentication for ERC-8004 registered agents.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 17
- Forks
- 2
01 前言 Front Matter
- name
- siwa
- version
- 0.2.0
- metadata
- { "clawdbot": { "emoji": "?", "homepage": "https://siwa.id" } }
- description
- SIWA (Sign-In With Agent) authentication for ERC-8004 registered agents.
02 资源文件 2
- 参考文档references/bankr-signer.md5.6 KB
- 参考文档references/server-side.md9.9 KB
03 SKILL.md 正文
SIWA SDK
Sign-In With Agent (SIWA) lets AI agents authenticate with services using their ERC-8004 onchain identity.
Install
npm install @buildersgarden/siwa
Skills
Agent-Side (Signing)
Choose based on your wallet provider:
- Bankr — Bankr Agent API wallets
Server-Side (Verification)
- Server-Side Verification — Next.js, Express, Hono, Fastify
SDK Modules
| Import | Description |
|---|---|
@buildersgarden/siwa |
Core: signSIWAMessage, verifySIWA, createSIWANonce |
@buildersgarden/siwa/signer |
Signer factories |
@buildersgarden/siwa/erc8128 |
ERC-8128 HTTP signing/verification |
@buildersgarden/siwa/receipt |
HMAC receipt helpers |
@buildersgarden/siwa/nonce-store |
Nonce stores (Memory, Redis, KV) |
@buildersgarden/siwa/next |
Next.js middleware |
@buildersgarden/siwa/express |
Express middleware |
@buildersgarden/siwa/hono |
Hono middleware |
@buildersgarden/siwa/fastify |
Fastify middleware |
Links
04 同仓库更多 Skills
provisioning-v1
暂无简介
get-api-docs
Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion
Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit/loss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.
zapper
Placeholder for Zapper skill.
yoink
Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.