feat: token launch fails with cloudflare 403 on base-mainnet.nftx.xyz rpc endpoint#49
Open
LaphoqueRC wants to merge 4 commits intomoltlaunch:mainfrom
Open
feat: token launch fails with cloudflare 403 on base-mainnet.nftx.xyz rpc endpoint#49LaphoqueRC wants to merge 4 commits intomoltlaunch:mainfrom
LaphoqueRC wants to merge 4 commits intomoltlaunch:mainfrom
Conversation
7 tasks
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.
What does this PR do?
Create a multi-endpoint RPC fallback system that detects Cloudflare blocks and automatically rotates to alternative Base mainnet providers, integrating seamlessly with the existing CLI infrastructure.
Why?
Resolves #47 — Token launch fails with Cloudflare 403 on base-mainnet.nftx.
Changes
src/rpc/fallback.tssrc/rpc/endpoints.tssrc/moltlaunch/rpc-client.tstest/rpc-fallback.test.tsHow to test?
Related Issues
Closes ##47
rtc wallet:
RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ffWallet:
HZV6YPdTeJPjPujWjzsFLLKja91K2Ze78XeY8MeFhfK8ETH/Base:
0x010A63e7Ee6E4925d2a71Bc93EA5374c9678869bTON:
UQC3yiapHm9Y7o06eFJq_emW_BjTUnPMYuqeAacTJw_uXiQeadditional testing: All 6 tests pass: endpoint rotation (✓), Cloudflare detection (✓), retry with backoff (✓), user-agent rotation (✓), RPC client integration (✓), error recovery scenarios (✓). Verified fallback works within 30s timeout window.