siwa-server

Validate SIWA messages and nonces server-side via Viem and ERC-8128 receipts.

43|12|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/builders-garden/siwa --skill siwa-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: siwa-server
Source: https://github.com/builders-garden/siwa/tree/main/packages/siwa-skill/server-side
Command: npx skills add https://github.com/builders-garden/siwa --skill siwa-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables backend systems to authenticate ERC-8004 agents by validating SIWA messages without requiring client-side signing, improving security and user experience.

Core Features & Use Cases

  • Server-side SIWA verification for API backends and middleware, enabling secure agent authentication.
  • Nonce issuance and validation, on-chain verification via Viem, and generation of ERC-8128 receipts for subsequent requests.
  • Use cases include API protection, authentication services, middleware implementations, and session management.

Quick Start

Install and integrate the SIWA server-side flow into your backend to perform verification.

Frequently Asked Questions about siwa-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify SIWA messages on a backend without client-side signing?

You can verify SIWA messages on a backend without client-side signing by using server-side nonce issuance, on-chain verification via a Viem client, and generating ERC-8128 receipts for subsequent authenticated requests.

What is server-side SIWA authentication for ERC-8004 agents?

Server-side SIWA authentication is a process that validates ERC-8004 agents by verifying SIWA messages directly on the backend, eliminating the need for client-side signing to improve security and user experience.

How does nonce validation work for SIWA agent verification?

Nonce validation for SIWA agent verification works by having the backend issue a unique nonce, which is then checked alongside on-chain verification via a Viem client to ensure the authenticity of the ERC-8004 agent.

Can I use Viem for on-chain verification in my API middleware?

Yes, you can use a Viem client for on-chain verification within your API middleware to securely authenticate ERC-8004 agents and manage sessions without requiring client-side signing.

When do I need ERC-8128 receipts for API authentication?

You need ERC-8128 receipts for API authentication when you want to securely manage subsequent requests after the initial SIWA message and nonce validation of ERC-8004 agents has been completed.

Why does backend SIWA verification improve security over client-side signing?

Backend SIWA verification improves security over client-side signing by moving the authentication logic server-side, utilizing on-chain verification via Viem and nonce handling to protect API backends and middleware.