Skip to main content
Back to selected work
Authentication & SIWE

Dragoon’s Gate

Ethereum wallet sign-in with signature verification and protected sessions.

DRAGOON’S GATE · EIP-4361 SIWE AUTH

Overview

A gasless Ethereum sign-in application built around EIP-4361 (Sign-In with Ethereum). Visitors sign an off-chain message with their EVM wallet, allowing the server to verify ownership cryptographically and issue secure HttpOnly session cookies.

Key capabilities

01

EIP-4361 message parsing and cryptographic signature recovery using maintained Viem SIWE utilities.

02

Single-use 5-minute challenges with atomic consumption to eliminate replay attacks.

03

Protected Server Component dashboard with session synchronization across account switches.

Technologies

Next.js 16React 19Viem v2 (SIWE)ioredisNode.js Test RunnerTailwind CSS