Skip to content

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

Closed
@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

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions