RPC Nodes Version Detection using SteemJs

Using SteemJS, we can easily detect the version of a Node:

1
2
3
4
steem.api.setOptions({url: "https://api.steemit.com"});
steem.api.getVersion(function(err, data) {
log(err, data);
});

This will output something like this:

1
2
null
{"blockchain_version":"0.22.1","steem_revision":"53392cc31f011f9a8def8dfffff78dbab17ebf2e","fc_revision":"53392cc31f011f9a8def8dfffff78dbab17ebf2e"}

SteemJS Playground here.

Now, it has been integrated into the page:

image.png

You can view the status of the nodes at: https://steemyy.com/
If a node is missing, please do let me know, thanks!


I hope this helps!

Steem On!~


If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE



Alternatively, you could proxy to me via steemconnect if you are too lazy to vote!


This page is synchronized from the post: ‘RPC Nodes Version Detection using SteemJs’

Witness Ranking Table and Account/Witness Page Update: Show How Much Your (Witness/SPS) Vote is

image.png

Your vote (used to vote for witness or SPS proposal) is calculated via:

Your SP (your money) + The Proxy votes (Whoever set you proxy)

The proxy votes are accumulated meaning that if A sets proxy to B which sets proxy to C, the vote of C is

The SP of C + The SP of B + The SP of A.

The SteemJS provides getAccounts which has the proxied_vsf_votes and vesting_shares.

1
2
3
4
5
6
7
8
steem.api.getAccounts(['justyy'], function(err, result) {
if (!err) {
console.log("Proxy votes", result[0].proxied_vsf_votes);
console.log("Vesting Shares", result[0].vesting_shares);
} else {
log("Steem API Error: ", err);
}
});



Run the code in SteemJs Editor



image.png

So, you can sum up those values and compute the power of your vote.

This has been integrated into witness ranking page:
https://steemyy.com/witness-ranking/?id=justyy

You will see:

1
2
@justyy has voted 30 witnesses, 0 slots left.
Total: 575.41M = Proxy VESTS: 518.55M + VESTS: 56.85M

Also, this information has been integrated into the following pages:

  1. Witness Information Page: https://steemyy.com/witness-data/justyy
  2. Account Information Page: https://steemyy.com/account/justyy

———— Chinese Version————
在以下页面加入显示 您投票的票权:

  1. https://steemyy.com/witness-lookup/justyy
  2. https://steemyy.com/account-data/justyy
  3. https://steemyy.com/witness-ranking-table/?id=justyy

I hope this helps!

Steem On!~


If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE



Alternatively, you could proxy to me via steemconnect if you are too lazy to vote!


This page is synchronized from the post: ‘Witness Ranking Table and Account/Witness Page Update: Show How Much Your (Witness/SPS) Vote is’

Witness Ranking Page Update: View Your Votes

Now you’ll be able to view your votes in the witness ranking page. For example:

https://steemyy.com/witness-ranking/?id=justyy

image.png

This is made possible by the steem-js at the client. Thus, the votes are obtained from your browser, after the DOM of the page finished loading.

Steem Js code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
steem.api.getAccounts(["justyy"], function(err, result) {
if (!err) {
var proxy = result[0].proxy;
var votes = result[0].witness_votes;
if (proxy !== "") {
$("div#votes").html(link(result[0].name) + " sets " + link(proxy) + " as witness voting proxy.");
} else {
var msg = "<B>" + link(result[0].name) + "</B> has voted <B>" + votes.length + "</B> <span style='background-color:yellow'>witnesses</span>, <B>" + (30 - votes.length) + "</B> slots left.";
$("div#votes").html(msg);
for (var v of votes) {
$("tr#" + v).children('td, th').css("background-color","yellow");
}
}
} else {
$("div#votes").html("<font color=red>" + JSON.stringify(err) + "</font>");
}
});

If you set a proxy, of course, you will see something different.

image.png

Yes, I know. I am a terrible UI design, and choosing colours is not my thing. Let me know the options!

This tool is also available in Chinese: https://steemyy.com/witness-ranking-table/?id=justyy


I hope this helps!

Steem On!~


If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE



Alternatively, you could proxy to me via steemconnect if you are too lazy to vote!


This page is synchronized from the post: ‘Witness Ranking Page Update: View Your Votes’

Simple SP/HP Delegation Tool for Steem Blockchain

I remember shortly after I joined STEEM, I made a simple tool to delegate the STEEM/vests as there is no easy way to do so on the Steem front-end.

Now after the split, we’ve got the delegation on the other side, thus I think it would make thing a little bit easier for users:

Tool: https://steemyy.com/sp-delegate-form/

image.png
The tools is also available in Chinese for the CN community to use:

https://steemyy.com/delegate-form/


I hope this helps!

Steem On!~


If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE
https://steemyy.com/images/vote-for-justyy.jpg


This page is synchronized from the post: ‘Simple SP/HP Delegation Tool for Steem Blockchain’

My Full Node https://api.justyy.com

Hey Steemians!

Thank you for staying at STEEM!

Here is a Full Node you can use (since the recent fork, many nodes are moving to HIVE):

https://api.justyy.com

image.png

You can use https://steemyy.com to check the health of a few nodes:

image.png

You can use the Online Steem-Js Editor: https://steemyy.com/steemjs/

image.png

I hope this helps!

Steem On!~


If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE
https://steemyy.com/images/vote-for-justyy.jpg


This page is synchronized from the post: ‘My Full Node https://api.justyy.com’

Query the Blockchain for Delegators (Tool Upgrade) - 查询steem帐号代理的工具

I have implemented a new tool to query the blockchain for delegators.
https://steemyy.com/delegators/

It integrates with SteemSQL so that you can pick either way to query the blockchain.

  1. If you choose Query via SQL it will ask for steemsql to get the list of delegators . However, the server may not be available.
  2. If you choose Search the Blockchain, it will use SteemJS to query the blockchain. Generally available, but very slow especially if the account has lots of the records - which need to be scanned completely.

———————— Chinese Version———————————-
steemsql 经常不好用,所以就给该工具加入了 steemjs 版本
工具地址:https://steemyy.com/list-of-delegators/

当然,还是可以保留用 steemsql 的方式来查询,如果能用的话。

Steem On!~


@justyy is the author of https://steemyy.com and he supports and promotes the CN community.

Vote for My Witness 支持行长当STEEM的见证人,每人可以投30票。

https://steemit.com/~witnesses type in justyy and click VOTE

Or Vote @justyy via Steemconnect Thank you!
或者 直接设置行长为见证人代理吧 - 投了行长就等于支持CN区的所有见证人。
Or voting me as a witness proxy - let @justyy represent you.


This page is synchronized from the post: ‘Query the Blockchain for Delegators (Tool Upgrade) - 查询steem帐号代理的工具’

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×