Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

fix(init): correct web3 standard attribution and add missing ethereum provider in config.toml template

Abierto Apto para principiantes
#7,324 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
83/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Lee la plantilla en apps/cli/src/shared/init/project-init.templates.ts y compárala con apps/cli-go/pkg/config/templates/config.toml y el fixture de prueba. Actualiza la atribución de Solana, añade el ejemplo de Ethereum y corrige “rows returns” por “rows returned” en cada copia requerida. La tarea estará completa cuando las plantillas y el fixture coincidan y la configuración generada muestre los comentarios corregidos y la sección de Ethereum.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

📘 Docs supabase/cli
Documentation link

https://github.com/supabase/cli/blob/develop/apps/cli/src/shared/init/project-init.templates.ts

Issue type

Incorrect documentation

Problem
  1. Solana Web3 Standard Misattribution:
    In apps/cli/src/shared/init/project-init.templates.ts:L342, the template generated by supabase init reads:
# Allow Solana wallet holders to sign in to your project via the Sign in with Solana (SIWS, EIP-4361) standard.
# You can configure "web3" rate limit in the [auth.rate_limit] section and set up [auth.captcha] if self-hosting.
[auth.web3.solana]
enabled = false

EIP-4361 is specifically the Ethereum Improvement Proposal for "Sign-In with Ethereum" (SIWE). Solana uses SIWS / CAIP-122, not an Ethereum EIP. Citing (SIWS, EIP-4361) for Solana is inaccurate.

Missing Ethereum Web3 Provider in Init Template: The CLI configuration schema (packages/config/src/auth/web3.ts and registry-auth.ts) supports both solana and ethereum. The container runtime also supports GOTRUE_EXTERNAL_WEB3_ETHEREUM_ENABLED, but [auth.web3.ethereum] is omitted from the config.toml init template.

Minor Grammar Typo: Line 19 of the template reads: # The maximum number of rows returns from a view, table, or stored procedure. ("returns" instead of "returned")

Suggested improvement
  1. Update the Solana comment in project-init.templates.ts to reference SIWS without EIP-4361:
# Allow Solana wallet holders to sign in to your project via the Sign in with Solana (SIWS) standard.
# You can configure "web3" rate limit in the [auth.rate_limit] section and set up [auth.captcha] if self-hosting.
[auth.web3.solana]
enabled = false
  1. Add the commented-out [auth.web3.ethereum] example:
# Allow Ethereum wallet holders to sign in to your project via the Sign-In with Ethereum (SIWE, EIP-4361) standard.
# [auth.web3.ethereum]
# enabled = false
  1. Fix the grammar typo on line 19 (rows returned from).

  2. Keep parity across project-init.templates.ts, apps/cli-go/pkg/config/templates/config.toml, and the test fixture.

Additional context

I would be happy to submit a PR for this once triaged and labeled with open-for-contribution.

Lenguaje dominante
TypeScript
Estrellas
2.4k
Forks
537
Merge medio
18 h 6 min
PR fusionados (30 d)
359

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de supabase/cli

Todos los issues de supabase/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.