š§± Core Integrations
š Sign-In With Ethereum
Account Authentication
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
- Demo: turboeth.xyz/integration/sign-in-with-ethereum
- Code: github.com/turbo-eth/template-web3-app/tree/integrations/integrations/siwe
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