Repository navigation
chore: remove deactivated RPC API keys from the repo - #14815
Merged
Merged
Conversation
Four hard-coded RPC keys were still in tracked files. All four are deactivated (Alchemy returns "App is inactive", Infura returns "invalid project id"), so this is cleanup, not rotation. - sp-actions claim.js: default --web3-provider to eth-client.audius.co - transferCommunityRewardsToSolana.js: read solanaClusterEndpoint from env, falling back to the public Helius endpoint used in prod configs - protocol-dashboard .env.stage: same Helius endpoint as .env.prod - libs initializeVersions example: read ETH_WEB3_PROVIDER_ENDPOINT from env (was a Ropsten Infura key) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dylanjeffers
added a commit
that referenced
this pull request
Nov 26, 2026
Before: the protocol dashboard kept a `.env.stage` file that no package script uses, and the README pointed to an `npm run start:stage` script that no longer exists. After: `.env.stage` is gone, `scripts/configureEnv.cjs` only accepts `prod` and `dev`, and the README points at `start:prod` / `start:dev`. The community rewards script change originally in this PR landed in #14815, so this PR is now only the stage env cleanup. How: - Removed `packages/protocol-dashboard/.env.stage`. - Dropped the `stage` option from `scripts/configureEnv.cjs`. - Updated the README's run instructions. --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the four hard-coded RPC API keys still in tracked files. Every one of them is already deactivated: Alchemy returns
403 App is inactiveand Infura returnsinvalid project id. So this is cleanup, not a key rotation.packages/sp-actions/claim.js--web3-providerhttps://eth-client.audius.copackages/libs/scripts/communityRewards/transferCommunityRewardsToSolana.jsprocess.env.solanaClusterEndpoint, falling back to the public Helius endpoint from the prod configspackages/protocol-dashboard/.env.stage.env.prodpackages/libs/examples/initializeVersions.jsprocess.env.ETH_WEB3_PROVIDER_ENDPOINTThere's a patch changeset for
@audius/sp-actions. The old default provider was dead, so node operators who runclaimwithout--web3-providercurrently get failures. This release fixes that.The keys are still in git history, but they're inactive, so that's harmless.
Test plan
git grepfinds no Alchemy or Infura keyed URLs left in tracked filesnode --checkpasses on all three JS fileseth-client.audius.coanswerseth_calland the Helius endpoint answersgetSlot🤖 Generated with Claude Code