Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa Adatta ai principianti
#7,324 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@7ttp ci sta già lavorando.

Dal 26/10/2026.

  • #7334 di @7ttp — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
83/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli, documentation

Direzione di ricerca

Leggi il template in apps/cli/src/shared/init/project-init.templates.ts e confrontalo con apps/cli-go/pkg/config/templates/config.toml e il fixture di test. Aggiorna l’attribuzione a Solana, aggiungi l’esempio Ethereum e correggi “rows returns” in “rows returned” in ogni copia richiesta. Il lavoro è completato quando i template e il fixture coincidono e la configurazione generata mostra i commenti corretti e la sezione Ethereum.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

📘 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.

Lingua principale
TypeScript
Stelle
2.4k
Fork
537
Merge medio
18h 2m
PR unite (30g)
387

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di supabase/cli

Tutte le issue di supabase/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.