From 7702d4ce7c149bcb29716219f21820656c21175f Mon Sep 17 00:00:00 2001 From: Vasilis Antonakis Date: Mon, 28 May 2018 21:49:20 +0300 Subject: [PATCH 1/2] API baseUrl changed Hello, I noticed there is a change in the baseUrl of etherscan APIs ** Important: (Feb-12-2018) The ROPSTEN testnet API service URL has been updated to http://api-ropsten.etherscan.io . The previous API url http://ropsten.etherscan.io will cease to function as of March 31, 2018 https://ropsten.etherscan.io/apis same goes for all other testnets nice work btw :) --- providers/etherscan-provider.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/etherscan-provider.js b/providers/etherscan-provider.js index adfee794..43dd1aba 100644 --- a/providers/etherscan-provider.js +++ b/providers/etherscan-provider.js @@ -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'); From 27207037a8247c613548f9a94aed5aacbafd41af Mon Sep 17 00:00:00 2001 From: Patricio Palladino Date: Thu, 31 May 2018 14:55:05 -0300 Subject: [PATCH 2/2] Fix browser installation instructions in README.md Browser installation instructions were outdated and pointed to v2, while node's one to v3. I updated the browser's one. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 937d593f..73be3a6e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To use in a browser: ```html ```