Skip to content

chore: remove deactivated RPC API keys from the repo - #14815

Merged
rickyrombo merged 1 commit into
mainfrom
chore/remove-dead-rpc-keys
Nov 24, 2026
Merged

rickyrombo merged 1 commit into
mainfrom
chore/remove-dead-rpc-keys

Conversation

@rickyrombo

Copy link
Copy Markdown
Contributor

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 inactive and Infura returns invalid project id. So this is cleanup, not a key rotation.

File Was Now
packages/sp-actions/claim.js Alchemy ETH mainnet key as the default --web3-provider https://eth-client.audius.co
packages/libs/scripts/communityRewards/transferCommunityRewardsToSolana.js Alchemy Solana mainnet key process.env.solanaClusterEndpoint, falling back to the public Helius endpoint from the prod configs
packages/protocol-dashboard/.env.stage Alchemy Solana mainnet key The same Helius endpoint as .env.prod
packages/libs/examples/initializeVersions.js Infura Ropsten key process.env.ETH_WEB3_PROVIDER_ENDPOINT

There's a patch changeset for @audius/sp-actions. The old default provider was dead, so node operators who run claim without --web3-provider currently get failures. This release fixes that.

The keys are still in git history, but they're inactive, so that's harmless.

Test plan

  • git grep finds no Alchemy or Infura keyed URLs left in tracked files
  • node --check passes on all three JS files
  • eth-client.audius.co answers eth_call and the Helius endpoint answers getSlot
  • The protocol dashboard staging deploy loads the Solana data

🤖 Generated with Claude Code

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>
@rickyrombo
rickyrombo merged commit 687cd53 into main Nov 24, 2026
33 checks passed
@rickyrombo
rickyrombo deleted the chore/remove-dead-rpc-keys branch November 24, 2026 02:20
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant