viem-siwe
Installation
SKILL.md
Viem SIWE
This skill provides expertise in implementing Sign-In with Ethereum (SIWE) adhering to EIP-4361 using viem.
Reference Implementation
For a complete, copy-pasteable implementation of a SIWE auth module, refer to references/implementation.md.
This implementation includes:
siwe.ts: Core logic for nonce generation, message creation, parsing, and verification.index.ts: Public API for the auth module.
API Documentation
For detailed API documentation of viem's SIWE utilities (createSiweMessage, verifySiweMessage, etc.), refer to references/api-docs.md.