-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add standardised common Provider (#184)
* feat: add standardised fallBackProvider * feat: updated the functions with test cases. * feat: update the provider generator function and read me * feat: update according to PR * feat: updated types and getDefaultProvider * feat: updated defaultBuilderOption to include process.env.PROVIDER_NETWORK * feat: update providerType for getDefaultProvider * feat: refactor getDefaultProvider, test case and integration testing * feat: added back INFURA_API_KE when using getDefaultProvider * feat: update test case to store and restore process.env varables
- Loading branch information
Showing
11 changed files
with
1,077 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.