docs: improve README with prerequisites, verification steps, and configuration details#1127
docs: improve README with prerequisites, verification steps, and configuration details#11272TheMoom wants to merge 1 commit into
Conversation
…iguration details
🟡 Heimdall Review Status
|
|
Great additions — the One thing worth adding to the verification section (or a gotchas note): the public We hit this running BasePay, a gasless relay on Base Mainnet. A relay handler that makes 7–9 sequential RPC calls per swap (balance checks, quotes, TX submits, receipt polling) trips the rate limit under modest traffic — the errors look like smart-contract failures but are actually just HTTP 429s from the RPC endpoint. The fix is using the Coinbase Node authenticated endpoint: # Public — rate-limited, no auth required
https://mainnet.base.org
# Authenticated — higher limits, same infrastructure
https://api.developer.coinbase.com/rpc/v1/base/<YOUR_CDP_API_KEY>In code: const transport = http(
process.env.CDP_API_KEY
? `https://api.developer.coinbase.com/rpc/v1/base/${process.env.CDP_API_KEY}`
: "https://mainnet.base.org" // local dev fallback
);If the README's verification section notes this distinction — even just a line that |
This PR improves the README for node operators with the following additions: