konfodio-backend-task-blockchain
This module is written as the solution to the backend task given konfodio.
Last updated 8 months ago by aerolalit .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install konfodio-backend-task-blockchain 
SYNC missed versions from official npm registry.

konfodio-backend-task-blockchain Build Status

JavaScript library of Simple BlockChain.

Node.js (Install)

Requirements:

  • Node.js
  • npm (Node.js package manager)
npm install konfodio-backend-task-blockchain

Usage

var BlockChain = require('konfodio-backend-task-blockchain');

var bl = new BlockChain();
bl.init([100, 100, 500], [[0, 1, 50], [1, 2, 80]], 2);
bl.getAccountBalance(0);
bl.getAccountBalance(1);
bl.getAccountBalance(2);

Current Tags

  • 1.0.1                                ...           latest (8 months ago)

2 Versions

  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |