Skip to content

feat: make Reth RPC APIs configurable - #43

Open
kejan2514 wants to merge 3 commits into
giwa-io:mainfrom
kejan2514:fix/configurable-reth-rpc-apis
Open

feat: make Reth RPC APIs configurable#43
kejan2514 wants to merge 3 commits into
giwa-io:mainfrom
kejan2514:fix/configurable-reth-rpc-apis

Conversation

@kejan2514

Copy link
Copy Markdown

Summary

Make the Reth HTTP and WebSocket RPC API namespaces configurable through environment variables while keeping safer defaults.

Changes

  • Add RETH_HTTP_API and RETH_WS_API configuration.
  • Default both API lists to eth,net,web3.
  • Pass the configured values to --http.api and --ws.api.
  • Document how operators can enable additional namespaces such as debug, txpool, or miner.

Motivation

RPC namespaces should be configurable by node operators instead of exposing a broader fixed set by default.

This provides safer defaults while preserving flexibility for deployments that require additional APIs.

Closes #42

@hakanbayrak3466

Copy link
Copy Markdown

nice job

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.

Reduce default op-reth RPC APIs

2 participants