Sign-In with Ethereum is a new form of authentication that enables users to control their digital identity with their Ethereum account and ENS profile instead of relying on a traditional intermediary. Already used throughout web3, this is an effort to standardize the method with best practices and to make it easier for web2 services to adopt it.

Integration

Folder Structure:

integrations/siwe
ā”œā”€ actions/
ā”‚  ā”œā”€ siwe-login.ts
ā”‚  ā”œā”€ siwe-logout.ts
ā”‚  ā”œā”€ siwe-message.ts
ā”œā”€ api/
ā”‚  ā”œā”€ index.ts
ā”‚  ā”œā”€ logout.ts
ā”‚  ā”œā”€ nonce.ts
ā”‚  ā”œā”€ verify.ts
ā”œā”€ components/
ā”‚  ā”œā”€ branch-button-login-or-account.tsx
ā”‚  ā”œā”€ button-siwe-login.tsx
ā”‚  ā”œā”€ button-siwe-logout.tsx
ā”‚  ā”œā”€ is-signed-in.tsx
ā”‚  ā”œā”€ is-signed-out.tsx
ā”œā”€ README.md