Skip to content

Add Pocket Network Gateway Provider #1030

Closed
@luyzdeleon

Description

What is Pocket Network?

Pocket Network is a decentralized protocol that connects your application with a network of hundreds of Ethereum nodes. By using the Pocket Gateway you’re providing incentive for more people to run more full nodes.

Sign up for a free Application ID on Pocket Network

Benefits:

  • One time stake, no recurring fees
  • Decentralized
  • Up to 1M requests free plan
  • Incentivizing more Ethereum full nodes

What's the Pocket Network Gateway Provider

By using Ethers.js Provider architecture, it would be as easy as adding a new Provider that extends the existing UrlJsonRpcProvider in the providers sub-package of Ethers.js.

This new Provider would use the Pocket Gateway's Application ID, and would give the options to add a Secret Key, Origin and User Agent headers, all of which can be configured in the Pocket Gateway, to allow the developer maximum control on how to use their infra.

A default open and free Application ID will be added within the Package for out of the box use, but as pointed out in the Ethers.js documentation, it's highly recommended for Production projects to get their own Application ID.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions