Skip to content

Conversation

@Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Jan 9, 2026

WHAT

Update deprecated alchemy rpc url

Copilot AI review requested due to automatic review settings January 9, 2026 16:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Alchemy RPC URL for Ethereum mainnet from the deprecated alchemyapi.io domain to the current g.alchemy.com domain. The change reflects Alchemy's infrastructure update to their newer API endpoint format.

  • Updated the Ethereum mainnet RPC URL from the deprecated alchemyapi.io domain to the current g.alchemy.com domain
  • Changed the API key from EuGnkVlzVoEkzdg0lpCarhm8YHOxWVxE to _J7v1gEI40Tiulq7rFh913Xjy2-C4L8T

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

type: 'ERC1155',
rpcUrls: [
'https://eth-mainnet.alchemyapi.io/v2/EuGnkVlzVoEkzdg0lpCarhm8YHOxWVxE',
'https://eth-mainnet.g.alchemy.com/v2/_J7v1gEI40Tiulq7rFh913Xjy2-C4L8T',
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change exposes a new API key in the source code repository. Hardcoded API keys pose a security risk as they can be discovered and misused by anyone with access to the repository or its history. Consider using environment variables or a configuration management system to handle sensitive credentials. Additionally, if this is a valid API key, it should be rotated immediately and the repository history should be cleaned to remove any exposed keys.

Copilot uses AI. Check for mistakes.
@Ansonhkg Ansonhkg merged commit b24d14f into master Jan 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants