0.7.7 • Published 5 years ago

golos-js v0.7.7

Weekly downloads
36
License
MIT
Repository
github
Last release
5 years ago

Golos.js

Golos.js the JavaScript API for Golos blockchain

npm version

Install

$ npm install golos-js --save

Here is full documentation: https://github.com/GolosChain/golos-js/tree/master/doc

Browser

<script src="./golos.min.js"></script>
<script>
golos.api.getAccounts(['ned', 'dan'], function(err, response){
    console.log(err, response);
});
</script>

Server

WebSockets

wss://ws.golos.io By Default

Examples

Broadcast Vote

var golos = require('golos');

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

Get Accounts

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

Issues

When you find issues, please report them!

License

MIT

0.7.7

5 years ago

0.7.6

5 years ago

0.7.5

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.30

6 years ago

0.5.29

6 years ago

0.5.28

7 years ago

0.5.27

7 years ago

0.5.26

7 years ago

0.5.25

7 years ago

0.5.24

7 years ago

0.5.23

7 years ago

0.5.22

7 years ago

0.5.21

7 years ago

0.5.20

7 years ago