Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat: web3 (ethereum) ui (#38623)

Stojan Dimitrovski1d0d56a3f3f4
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx
index 0137a0685f3..b3dc3724fd5 100644
--- a/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx
+++ b/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx
@@ -1384,9 +1384,15 @@ const PROVIDER_SAML = {
const PROVIDER_WEB3 = {
$schema: JSON_SCHEMA_VERSION,
type: 'object',
- title: 'Web3 Wallet (Solana)',
+ title: 'Web3 Wallet',
link: 'https://supabase.com/docs/guides/auth/auth-web3',
properties: {
+ EXTERNAL_WEB3_ETHEREUM_ENABLED: {
+ title: 'Enable Sign in with Ethereum',
+ description:
+ 'Allow Ethereum wallets to sign in to your project via the Sign in with Ethereum (EIP-4361). Set up [attack protection](../auth/protection) and adjust [rate limits](../auth/rate-limits) to counter abuse.',
+ type: 'boolean',
+ },
EXTERNAL_WEB3_SOLANA_ENABLED: {
title: 'Enable Sign in with Solana',
description:
@@ -1395,6 +1401,7 @@ const PROVIDER_WEB3 = {
},
},
validationSchema: object().shape({
+ EXTERNAL_WEB3_ETHEREUM_ENABLED: boolean().required(),
EXTERNAL_WEB3_SOLANA_ENABLED: boolean().required(),
}),
misc: {