Skip to content

Commit

Permalink
Added Pocket network to the default provider (#1030, #1052).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 1, 2021
1 parent 4f67ecd commit 4af2c19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/networks/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ function ethDefaultProvider(network: string | Network): Renetworkable {
} catch(error) { }
}

if (providers.PocketProvider) {
try {
providerList.push(new providers.PocketProvider(network));
} catch(error) { }
}

if (providers.CloudflareProvider) {
try {
providerList.push(new providers.CloudflareProvider(network));
Expand Down

0 comments on commit 4af2c19

Please sign in to comment.