Search…
♦
Use EthersJS
How to use Pocket as your node provider with this complete and compact Ethereum library
First, you need to get an endpoint from the Pocket Portal.
Then you need to get the Gateway ID
and insert it like so
1
ethers.providers.PocketProvider('homestead', process.env.GatewayID)
Copied!
Copy link
Edit on GitHub