Skip to content

[Feature] Make it easier to instantiate a RootProvider #266

@onbjerg

Description

@onbjerg

Component

providers, pubsub

Describe the feature you would like

There should be an easy way to instantiate a RootProvider for any given transport, currently we do:

RootProvider::<Network, _>::new(RpcClient:new(transport, true))

where the transport itself can also be "complex" to instantiate

#190 (comment)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions