Skip to content

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

@CPerezz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions