Skip to content

Custom RPC methods and regular RPC APIs should be managed via TOML configfile. #1

Description

@CPerezz

In our docs is said:

Edit src/whitelist.rs to modify allowed methods:

const ALLOWED_METHODS: &[&str] = &[
    // Add your custom methods here
    "eth_blockNumber",
    "eth_getBalance",
    // ...
];

Notice that this won't allow operators to download pre-compiled binaries nor anything similar.

Thus, we should allow a more configurable and release-friendly approach that doesn't enforce the user to re-compile the whole code each time they want to update the API that is exposed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions