2019-08-22 08:52:17 +03:00
|
|
|
-----
|
|
|
|
|
|
|
|
Documentation: [html](https://docs-beta.ethers.io/)
|
|
|
|
|
|
|
|
-----
|
|
|
|
|
2019-08-21 08:53:47 +03:00
|
|
|
|
|
|
|
API Providers
|
|
|
|
=============
|
|
|
|
|
|
|
|
|
|
|
|
There are many services which offer a web API for accessing
|
|
|
|
the Ethereum Blockchain. These Providers allow connecting
|
|
|
|
to them, which simplifies development, since you do not need
|
|
|
|
to run your own instance or cluster of Ethereum nodes.
|
|
|
|
|
|
|
|
However, this reliance on third-party services can reduce
|
|
|
|
resiliance, security and increase the amount of required trust.
|
|
|
|
To mitigate these issues, it is recommended you use a
|
|
|
|
[Default Provider](..).
|
|
|
|
|
|
|
|
|
|
|
|
EtherscanProvider
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
2019-12-14 06:05:10 +03:00
|
|
|
The **EtherscanProvider** is backed by a combination of the various
|
|
|
|
[Etherscan APIs](https://etherscan.io/apis).
|
|
|
|
|
|
|
|
|
|
|
|
#### *provider* . **getHistory** ( address ) **=>** *Array< History >*
|
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
@TODO... Explain
|
2019-12-14 06:05:10 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-21 08:53:47 +03:00
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
#### **Supported Networks**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Homestead (Mainnet)
|
|
|
|
* Ropsten (proof-of-work testnet)
|
|
|
|
* Rinkeby (proof-of-Authority testnet)
|
|
|
|
* Görli (clique testnet)
|
|
|
|
* Kovan (proof-of-authority testnet)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-21 08:53:47 +03:00
|
|
|
|
|
|
|
InfuraProvider
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
2019-12-14 06:05:10 +03:00
|
|
|
The **InfuraProvider** is backed by the popular [INFURA](https://infura.io)
|
|
|
|
Ethereum service.
|
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
|
|
|
|
#### **Supported Networks**
|
2019-08-21 08:53:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
* Homestead (Mainnet)
|
|
|
|
* Ropsten (proof-of-work testnet)
|
|
|
|
* Rinkeby (proof-of-Authority testnet)
|
|
|
|
* Görli (clique testnet)
|
|
|
|
* Kovan (proof-of-authority testnet)
|
2019-08-21 08:53:47 +03:00
|
|
|
|
2019-12-14 06:05:10 +03:00
|
|
|
|
2019-08-21 08:53:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
AlchemyProvider
|
|
|
|
---------------
|
|
|
|
|
|
|
|
|
2019-12-14 06:05:10 +03:00
|
|
|
The **AlchemtProvider** is backed by [Alchemy](https://alchemyapi.io).
|
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
|
|
|
|
#### **Supported Networks**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Homestead (Mainnet)
|
|
|
|
* Ropsten (proof-of-work testnet)
|
|
|
|
* Rinkeby (proof-of-Authority testnet)
|
|
|
|
* Görli (clique testnet)
|
|
|
|
* Kovan (proof-of-authority testnet)
|
|
|
|
|
|
|
|
|
2019-12-14 06:05:10 +03:00
|
|
|
|
|
|
|
|
|
|
|
CloudfrontProvider
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
|
|
The CloudfrontProvider is backed by the
|
|
|
|
[Cloudflare Ethereum Gateway](https://developers.cloudflare.com/distributed-web/ethereum-gateway/).
|
|
|
|
|
2020-02-02 08:53:22 +03:00
|
|
|
|
|
|
|
#### **Supported Networks**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Homestead (Mainnet)
|
|
|
|
|
|
|
|
|
2019-08-21 08:53:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-----
|
2020-02-02 08:53:22 +03:00
|
|
|
**Content Hash:** 516111e087ee3f12588ba555c0719f7170ea532e269590586c95ddc1d7eb7e7b
|