• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ethjs / ethjs
100%

Build:
DEFAULT BRANCH: master
Repo Added 18 Dec 2016 05:52PM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master
  • newethjs2

pending completion
31

Pull #35

travis-ci

web-flow
Create nodejs.yml

const Eth = require('ethjs');
const eth = new Eth(new Eth.HttpProvider('https://ropsten.infura.io'));

eth.getBlockByNumber(45300, true, (err, block) => {
  // result null { ...block data... }
});

const etherValue = Eth.toWei(72, 'ether');

// result <BN: 3e733628714200000>

const tokenABI = [{
  "constant": true,
  "inputs": [],
  "name": "totalSupply",
  "outputs":[{"name": "","type": "uint256"}],
  "payable": false,
  "type": "function",
}];

const token = eth.contract(tokenABI).at('0x6e0E0e02377Bc1d90E8a7c21f12BA385C2C35f78');

token.totalSupply().then((totalSupply) => {
  // result <BN ...>  4500000
});

// token.transfer( ... ).then(txHash => eth.getTransactionSuccess(txHash)).then(receipt => console.log(receipt));
Pull Request #35: Create nodejs.yml

59 of 59 relevant lines covered (100.0%)

13.98 hits per line

Relevant lines Covered
Build:
Build:
59 RELEVANT LINES 59 COVERED LINES
13.98 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31 master Create nodejs.yml const Eth = require('ethjs'); const eth = new Eth(new Eth.HttpProvider('https://ropsten.infura.io')); eth.getBlockByNumber(45300, true, (err, block) => { // result null { ...block data... } }); const etherValue = Eth.... Pull #35 28 Jan 2020 10:14PM UTC web-flow travis-ci pending completion  
30 fix-typos fixed typos Pull #32 18 May 2019 09:34AM UTC web-flow travis-ci pending completion  
29 master version changes push 09 May 2018 10:33PM UTC SilentCicero travis-ci pending completion  
28 master new ethjs contract and query push 09 May 2018 09:17PM UTC SilentCicero travis-ci pending completion  
27 master fix unhandled promise rejections push 06 Apr 2018 11:23PM UTC SilentCicero travis-ci pending completion  
26 master fix document there is no `filters` property on `ETH` object https://github.com/ethjs/ethjs/blob/356ed3c45/src/index.js#L34 Pull #22 01 Mar 2018 04:17AM UTC web-flow travis-ci pending completion  
25 master Merge pull request #15 from canterberry/duplicate-packages Remove duplicate "js-sha3" dependency push 04 Dec 2017 12:58PM UTC web-flow travis-ci pending completion  
24 master Merge pull request #16 from canterberry/cat-pipe Replace cat-pipe with file redirection in coveralls script push 30 Nov 2017 07:38PM UTC web-flow travis-ci pending completion  
23 master :art: Replace cat-pipe with file redirection in coveralls script Functionally identical, but for this use case, file redirection is more idiomatic. Pull #16 30 Nov 2017 04:31PM UTC web-flow travis-ci pending completion  
22 master :no_entry_sign: Remove duplicate dependencies entry Pull #15 30 Nov 2017 04:23PM UTC web-flow travis-ci pending completion  
See All Builds (31)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc