Skip to content

Commit 2671fd5

Browse files
authored
Merge pull request sebs#20 from m-tymchyk/master
Change Client to Axios and fix some code style
2 parents 4251f21 + 104ab94 commit 2671fd5

File tree

11 files changed

+2098
-64390
lines changed

11 files changed

+2098
-64390
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.idea
12
out
2-
node_modules
3+
node_modules

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
out
3+
node_modules

Readme.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
A way to access the [etherscan.io api](https://etherscan.io/apis) using promises. Fetch a diverse set of information about the blockchain
66

7-
8-
Livenet
7+
Mainnet
98

109
```javascript
1110
var api = require('etherscan-api').init('YourApiKey');
@@ -15,6 +14,7 @@ balance.then(function(balanceData){
1514
});
1615
```
1716

17+
1818
## For testnet usage
1919

2020
Supported:
@@ -29,21 +29,19 @@ Latest
2929
var api = require('etherscan-api').init('YourApiKey','rinkeby');
3030
```
3131

32-
Old Default
33-
34-
```javascript
35-
var api = require('etherscan-api').init('YourApiKey','testnet');
36-
```
3732

3833
## Install
3934

4035
```bash
4136
npm install etherscan-api --save
4237
```
43-
## Api
38+
39+
40+
## API Documentation
4441

4542
[Full Api Docs](https://sebs.github.io/etherscan-api/)
4643

44+
4745
## Development workflow
4846

4947
* npm test - runs tests

0 commit comments

Comments
 (0)