GithubHelp home page GithubHelp logo

techman34 / etherscan-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from go-faast/etherscan-api

0.0 1.0 0.0 1.39 MB

A node.js wrapper for the etherscan api to fetch data and metadata from the ethereum blockchain

Home Page: https://sebs.github.io/etherscan-api/

License: MIT License

JavaScript 100.00%

etherscan-api's Introduction

Etherscan API

npm version Build Status npm

A way to access the etherscan.io api using promises. Fetch a diverse set of information about the blockchain

Livenet

var api = require('etherscan-api').init('YourApiKey');
var balance = api.account.balance('0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae');
balance.then(function(balanceData){
  console.log(balanceData);
});

For testnet usage

Supported:

  • morden
  • ropsten
  • rinkeby

Latest

var api = require('etherscan-api').init('YourApiKey','rinkeby');

Old Default

var api = require('etherscan-api').init('YourApiKey','testnet');

Install

npm install etherscan-api --save

Api

Full Api Docs

Development workflow

  • npm test - runs tests
    • npm run posttest - starts the linter
  • npm run lint - preconfigured linter
  • npm run docs - generates the apidocs
  • npm run bundle - builds a new bundle
  • npm run preversion - Steps before we create a new Tag
    • lint
    • changelog
  • npm run pages - pushes generated apidocs to the server
  • postversion - after generating a new version, push the tag to the server
  • npm run changelog - generates a changelog and pushes it

etherscan-api's People

Contributors

sebs avatar jackbekket avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.