Skip to content

We should allow passing protocol parameters in the constructor to avoid calling the provider #18

Description

@joacohoyos

Some dapps might want to optimize the Protocl params fetching to avoid calling the provider endpoints each time you instantiate Translucent.

Translucent.new could be modified to new(provider, network, protocolParams) to allow passing the protocol parameters and that would avoid calling provider.getProtocolParamateres

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions