Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add Lava RPC node to default Free RPC Nodes #1335

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gap-editor
Copy link

Motivation and Resolution

This PR adds Lava RPC node (https://www.lavanet.xyz/) as one of the default RPC providers for both Mainnet and Sepolia networks. This addition increases the reliability and availability of RPC nodes for StarkNet.js users by providing an additional fallback option.

Resolves #1331

RPC version (if applicable)

Using default RPC version (v0_7) consistent with other providers

Usage related changes

  • Added Lava RPC node (https://starknet.lava.build/rpc/v0_7) to the default RPC nodes list for both SN_MAIN and SN_SEPOLIA networks
  • Users will automatically get access to Lava RPC node when using default provider configuration
  • No breaking changes - existing code will continue to work as before

Development related changes

  • Updated constants.ts to include new RPC endpoint
  • No changes to testing infrastructure required as existing provider tests will automatically cover the new endpoint

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch
  • Linked the issues which this PR resolves (Add Lava RPC node to default Free RPC Nodes #1331)
  • Documented the changes in code
  • No test updates needed as existing tests cover provider functionality
  • All tests are passing

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.

Add Lava RPC node to default Free RPC Nodes
1 participant