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

Add Pocket Network Gateway Provider #1030

Closed
luyzdeleon opened this issue Sep 3, 2020 · 1 comment
Closed

Add Pocket Network Gateway Provider #1030

luyzdeleon opened this issue Sep 3, 2020 · 1 comment
Labels
enhancement New feature or improvement. fixed/complete This Bug is fixed or Enhancement is complete and published.

Comments

@luyzdeleon
Copy link

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.

@ricmoo ricmoo added enhancement New feature or improvement. on-deck This Enhancement or Bug is currently being worked on. labels Oct 7, 2020
@ricmoo ricmoo added fixed/complete This Bug is fixed or Enhancement is complete and published. and removed on-deck This Enhancement or Bug is currently being worked on. labels Feb 5, 2021
@ricmoo
Copy link
Member

ricmoo commented Feb 5, 2021

This was addressed in 4af2c19 and 27a981c. :)

So, I'll close this now. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement. fixed/complete This Bug is fixed or Enhancement is complete and published.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants