Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include authentication in rpcendpointconfig #8276

Open
mattsse opened this issue Jun 27, 2024 · 0 comments
Open

Include authentication in rpcendpointconfig #8276

mattsse opened this issue Jun 27, 2024 · 0 comments
Labels
T-feature Type: feature

Comments

@mattsse
Copy link
Member

mattsse commented Jun 27, 2024

Component

Forge

Describe the feature you would like

pub struct RpcEndpointConfig {

we already support settings like cups and retries:

/// The number of retries.
pub retries: Option<u32>,
/// Initial retry backoff.
pub retry_backoff: Option<u64>,
/// The available compute units per second.
///
/// See also <https://docs.alchemy.com/reference/compute-units#what-are-cups-compute-units-per-second>
pub compute_units_per_second: Option<u64>,

we can easily integrate authentication as well,

this should probably be something like

auth = "bearer|basic:${BEARER}"

TODO

  • support parsing auth field
  • integrate in provider setup

Additional context

No response

@mattsse mattsse added the T-feature Type: feature label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

1 participant