Merge branch 'master' of github.com:ethers-io/ethers.js
This commit is contained in:
commit
a6cced81d6
@ -27,7 +27,7 @@ To use in a browser:
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<script charset="utf-8"
|
<script charset="utf-8"
|
||||||
src="https://cdn.ethers.io/scripts/ethers-v2.min.js"
|
src="https://cdn.ethers.io/scripts/ethers-v3.min.js"
|
||||||
type="text/javascript">
|
type="text/javascript">
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
@ -35,13 +35,13 @@ function EtherscanProvider(network, apiKey) {
|
|||||||
baseUrl = 'https://api.etherscan.io';
|
baseUrl = 'https://api.etherscan.io';
|
||||||
break;
|
break;
|
||||||
case 'ropsten':
|
case 'ropsten':
|
||||||
baseUrl = 'https://ropsten.etherscan.io';
|
baseUrl = 'https://api-ropsten.etherscan.io';
|
||||||
break;
|
break;
|
||||||
case 'rinkeby':
|
case 'rinkeby':
|
||||||
baseUrl = 'https://rinkeby.etherscan.io';
|
baseUrl = 'https://api-rinkeby.etherscan.io';
|
||||||
break;
|
break;
|
||||||
case 'kovan':
|
case 'kovan':
|
||||||
baseUrl = 'https://kovan.etherscan.io';
|
baseUrl = 'https://api-kovan.etherscan.io';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Error('unsupported network');
|
throw new Error('unsupported network');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user