Agent skill
siwa
SIWA (Sign-In With Agent) authentication for ERC-8004 registered agents.
Install this agent skill to your Project
npx add-skill https://github.com/BankrBot/skills/tree/main/siwa
Metadata
Additional technical details for this skill
- clawdbot
-
{ "emoji": "\ud83d\udd10", "homepage": "https://siwa.id" }
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
bankr
AI-powered crypto trading agent, wallet API, and LLM gateway via natural language. Use when the user wants to trade crypto, check portfolio balances (with PnL and NFTs), view token prices, search tokens, transfer crypto, manage NFTs, use leverage, bet on Polymarket, deploy tokens, set up automated trading, sign and submit raw transactions, or access LLM models through the Bankr LLM gateway funded by your Bankr wallet. Supports Base, Ethereum, Polygon, Solana, and Unichain.
neynar
Interact with Farcaster via Neynar API. Use when the user wants to read Farcaster feeds, look up users, post casts, search content, or interact with the Farcaster social protocol. Requires NEYNAR_API_KEY.
hydrex
Interact with Hydrex liquidity pools on Base. Use when the user wants to lock HYDX for voting power, check voting power for gauge voting, vote on liquidity pool strategies, view pool information, check voting weights, participate in Hydrex governance, deposit single-sided liquidity into auto-managed vaults to earn Hydrex yields, claim oHYDX rewards from incentive campaigns, or exercise oHYDX into veHYDX. Uses Bankr for transaction execution.
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.
base
Placeholder for Base skill.
0xwork
Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, post tasks with bounties, check earnings or wallet balance, sell digital products, list services, or set up as a 0xWork worker/poster. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: managing the 0xWork platform or frontend development.
Didn't find tool you were looking for?