Add Pocket Network Gateway Provider #1030
Labels
enhancement
New feature or improvement.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
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:
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 theproviders
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.
The text was updated successfully, but these errors were encountered: