gamebankjs

GameBank.js the JavaScript API for Steem blockchain


Keywords
steem, steemit, blockchain, steemjs
License
MIT
Install
npm install gamebankjs@0.7.1

Documentation

GameBank.js

GameBank.js the JavaScript API for GameBank blockchain

Server

Install

$ npm install gamebank --save

Examples

Broadcast Vote

var gamebank = require('gamebank');

var wif = gamebank.auth.toWif(username, password, 'posting');
gamebank.broadcast.vote(wif, voter, author, permlink, weight, function(err, result) {
	console.log(err, result);
});

Get Accounts

gamebank.api.getAccounts(['ned', 'dan'], function(err, result) {
	console.log(err, result);
});

Get State

gamebank.api.getState('/trends/funny', function(err, result) {
	console.log(err, result);
});

Reputation Formatter

var reputation = gamebank.formatter.reputation(user.reputation);
console.log(reputation);

Issues

When you find issues, please report them!

License

MIT