fix(init): correct web3 standard attribution and add missing ethereum provider in config.toml template
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 83/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli, documentation
Research direction
Read the template in apps/cli/src/shared/init/project-init.templates.ts and compare it with apps/cli-go/pkg/config/templates/config.toml and the test fixture. Update the Solana attribution, add the Ethereum example, and correct “rows returns” to “rows returned” in each required copy. Done when the templates and fixture agree and the generated config shows the corrected comments and Ethereum section.
Written by the indexing model from the issue text.
Description
Documentation link
https://github.com/supabase/cli/blob/develop/apps/cli/src/shared/init/project-init.templates.ts
Issue type
Incorrect documentation
Problem
- Solana Web3 Standard Misattribution:
Inapps/cli/src/shared/init/project-init.templates.ts:L342, the template generated bysupabase initreads:
# 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
- Update the Solana comment in
project-init.templates.tsto 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
- 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
-
Fix the grammar typo on line 19 (
rows returned from). -
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.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 537
- Avg merge
- 18h 2m
- Merged PRs (30d)
- 387
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supabase/cli
-
db schema declarative sync: no way to fail (non-zero exit) when the generated migration is destructiveMay be free again A pull request for this issue was closed without being merged. Open✨ Feature supabase/cli
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Windows: Supabase CLI start fails when no Supabase containers existPossibly taken @Coly010 claimed this 1 day ago. Open🐛 Bug supabase/cli
Difficulty 3/5 1-2 days Newbie friendliness 35/100
supabase/cli#7344 · 1 assignee ·
Maintainers usually reply within 1 day
-
Supabase CLI 2.122.0 prunes local Docker network before database container creation on Windows/WSL2Possibly taken @jgoux claimed this 2 days ago. Open🐛 Bug supabase/cli
Difficulty 4/5 3-5 days Newbie friendliness 42/100
supabase/cli#7339 · 1 assignee ·
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
stack: every Edge Function request starts a new worker, so the same function never reuses one and each call pays a cold startPossibly taken @7ttp claimed this 2 days ago. Open🐛 Bug supabase/cli
Difficulty 3/5 1-2 days Newbie friendliness 58/100
supabase/cli#7274 · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
area:plugins area:security area:skills bug has repro
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anthropics/claude-code#105911 ·
Maintainers usually reply within 1 day
-
documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
dev-five-git/devup-ui#879 ·
Maintainers usually reply within 11 days
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifactsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fission-AI/OpenSpec#2165 ·
Maintainers usually reply within 1 day
-
🐞 bug 🧐 unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Tencent/tdesign-vue-next#7032 · 1 comment ·
Maintainers usually reply within 1 day