2
0
mirror of synced 2025-02-25 04:25:16 +00:00

Merge branch 'master' of github.com:ethers-io/ethers.js

This commit is contained in:
Richard Moore 2018-06-03 20:50:33 -04:00
commit a6cced81d6
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ To use in a browser:
```html
<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">
</script>
```

View File

@ -35,13 +35,13 @@ function EtherscanProvider(network, apiKey) {
baseUrl = 'https://api.etherscan.io';
break;
case 'ropsten':
baseUrl = 'https://ropsten.etherscan.io';
baseUrl = 'https://api-ropsten.etherscan.io';
break;
case 'rinkeby':
baseUrl = 'https://rinkeby.etherscan.io';
baseUrl = 'https://api-rinkeby.etherscan.io';
break;
case 'kovan':
baseUrl = 'https://kovan.etherscan.io';
baseUrl = 'https://api-kovan.etherscan.io';
break;
default:
throw new Error('unsupported network');