Skip to content

fix: use the live Robinhood Chain RPC URL - #119

Open
hey-research-lab wants to merge 1 commit into
0xProject:mainfrom
hey-research-lab:fix/robinhood-chain-rpc
Open

hey-research-lab wants to merge 1 commit into
0xProject:mainfrom
hey-research-lab:fix/robinhood-chain-rpc

Conversation

@hey-research-lab

Copy link
Copy Markdown

Problem

robinhoodChain in src/constants.ts sets its default RPC to https://rpc.chain.robinhood.com. That host does not complete a TLS handshake, so the URL cannot be used.

Checked 2026-10-31 17:18 UTC:

$ curl -X POST https://rpc.chain.robinhood.com --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
curl: (35) ... sslv3 alert handshake failure        (OpenSSL 3: SSL alert number 40)

$ curl -X POST https://rpc.mainnet.chain.robinhood.com --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
{"jsonrpc":"2.0","id":1,"result":"0x1237"}

rpc.mainnet.chain.robinhood.com is the public RPC listed at https://docs.robinhood.com/chain/connecting/.

Today the parser only reads robinhoodChain.id and .name, so nothing in the library calls this URL. The fix matters for anyone who builds a client from the chain object, and keeps the definition correct if it is used more later.

Solution

Change the default RPC to https://rpc.mainnet.chain.robinhood.com. The explorer and multicall3 entries were already correct (multicall3 has code on chain 4663).

Validation

One-line string change. I did not run npm test (it needs RPC keys and I did not install dependencies).

rpc.chain.robinhood.com fails the TLS handshake. The public RPC listed in
Robinhood's docs is rpc.mainnet.chain.robinhood.com.
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.

1 participant