@hethers/providers
Version:
Hedera Hashgraph Providers for hethers.
46 lines (35 loc) • 1.14 kB
Markdown
Hedera Providers
==================
This sub-module is part of the [hethers project](https://github.com/hashgraph/hethers.js). It is a fork of the original [ethers project](https://github.com/ethers-io/ethers.js) sub-module.
It contains common Provider classes, utility functions for dealing with providers
and re-exports many of the classes and types needed to implement a custom Provider.
For more information, see the [documentation](https://docs.hedera.com/hethers/application-programming-interface/providers).
Importing
---------
Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/@hashgraph/hethers),
but for those with more specific needs, individual components can be imported.
```javascript
const {
Provider,
BaseProvider,
DefaultHederaProvider,
HederaProvider,
getDefaultProvider,
getNetwork,
Formatter,
EventType,
FeeData,
Filter,
Log,
Listener,
TransactionReceipt,
TransactionRequest,
TransactionResponse,
Network,
Networkish,
ProviderOptions
} = require("@hethers/providers");
```
License
-------
MIT License