The very first SCOT voting power viewer + balance information

in #utopian-io5 years ago (edited)

Repository

https://github.com/economicstudio/vp

https://economicstudio.github.io/vp/?a=blockchainstudio&t=SCT

New Projects - STEEM SCOT Voting Power Viewer

This is the very first Steem Engine SCOT Voting Power Viewer.

Steem Engine SCOT (Smart Contract Organizational Token) is very new, so many people even don't know there exists separate VP for each SCOT.

Despite the separate VP, there has been no voting power viewer for SCOT, which is very inconvenient. In some SCOT community, SCOT vote value is much higher than Steem vote value, so this VP viewer is very important.

So I've made a simple VP viewer with SCOT balance information + claim function.

Usage

Currently, default token is SCT (subject to change), so you can just visit without &t=SCT
https://economicstudio.github.io/vp/?a=blockchainstudio for SCT

  • Using querystring enables you to make the shortcut of the full address. (especially useful on mobile)

SCOT additional Information

  • Staked: Staked amount (like SP)
  • Unstaked: Unstaked amount (like STEEM) But excluded if used for market order
  • Pending: Unclaimed amount
  • Total: Total (market order amount is excluded)

Claim function

When pending is nonzero, Pending is clickable to claim the pending tokens. It is currently using steemconnect.com (let me know if you know how to integrate keychain in js for this simple purpose.)

Part of Code

  • Basically SCOT VP calculation is similar to Steem. It has last_vote_time and (last) voting_power, so the current voting power should be calculated from these using regeneration parameters.

  • As I commented, although these parameters can be customized, all communities are using default VP use/recovery parameter, so instead of additional API call for this, I used the default parameters. But this can be changed easily later if necessary.

Technology Stack

Roadmap

Since this is very fast prototype, there are plenty of room to improve.

  • Show all SCOT VPs in one page.
  • Show more Steem VP + balance information.
  • Show VP recovery time
  • Support multiple accounts
  • Support keychain
  • Show estimated vote value (Currently SCOT vote value fluctuates a lot, so I'd like to further wait for this.)

Any feedback, Issue, PR, and fork are welcome :)

GitHub Account

https://github.com/economicstudio

Sort:  
  • Good article with an image and a code sample.
  • Glad to see some comments in the code, although dead code does not count.
  • Commit messages could be more detailed.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review!

Thank YOu for working on such an important new part of steem and doing work @ned should be paying you to do

Thank you for your review, @helo! Keep up the good work!

Are you able to delegate SCOT tokens like you can SP?

Hi @ozphil, afaik, delegation isn't available yet. But there are reserved fields for delegation. So I think SCOT team will implement in the future. Thanks.

Keychain is really easy to implement. To get help just visit the keychain channel on discord - https://discord.gg/33gbn6u.

yeah man @aggroed really did a great job utilizing @yabapmatt 's Steem KEYCHAIN Chrome Extension (Firefox addon page has been taken down for some reason) and I also discovered STEEM KEYCHAIn works on BRAVE CRYPTO browser

Thanks, I'll check it out.

Hi @revo, actually it was too simple to even goto discord. Now it supports keychain too :) STEEM SCOT Voting Power Viewer Keychain Support!

so funny that I previously contributed to keychain twice, but this is my first time to use it :)

innovit님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
innovit님의 [SCT] 앞으로 다양한 SCT관련 툴을 기대합니다.

...BwfP6ifhs5mKVjYQBt/steemcoinpan_logo.png
SCT 보팅파워 확인 가능blockchainstudio님이 SCT보팅파워를 확인할 수 있는 툴을 만들어주셨습니다.
https://economicstudio...

Korean: STEEM SCOT 보팅파워 뷰어에서 설명드린 글의 Utopian dev 포스팅입니다. 한글 설명은 해당글을 참고해주세요.

앞으로 계속 개발해나갈지는 솔직히 모르겠고 많은 분들이 불편해하시는 것 같아 일단 동작하게만 만드는데 초점을 둔 것입니다. 소스도 대충 발로 썼어요^^ 유토피안 분석/튜토리얼 포스팅을 위해 간단한 스크립트를 공개한 적은 있어도, 비록 아주 간단하지만 유용한 툴을 공개하긴 처음인 것 같아 유토피안 개발 포스팅도 남겨봅니다.

전 이제 개발자도 아니고 웹개발자는 더더욱 아니니 능력자분들께서 api참고하시어 더 좋은 버전 만들어주시길 기대하겠습니다. 사실 이렇게 신규 프로젝트는 api 찾는 것이 시간이 제법 드는데 그에 대한 시간 절약하시길 바라는 마음에서 제가 호기심에 만들어본 것으로 생각하시면 되겠습니다. 감사합니다.

로드맵까지 공개하셨으니, 다 개발 해주세요. ㅋㅋㅋ

포스팅 형식 때문에 어쩔수 없이 넣었습니다ㅎㅎㅎ

커멘트도 원래 없었는데 이놈의 유토피안 포스팅 때문에 추가했다는ㅋㅋ

저 로드맵대로 이제 능력자들이 개발해주실 겁니다^^

Thank you for putting this together!

relaxkim님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
relaxkim님의 #sct 태그가 달리지 않은 글에 보팅하면 SCT 보팅파워가 줄어들까? 2부

...SCT 토큰의 보팅파워는 줄지 않는다’ 입니다.
SCT 보팅파워를 그래픽으로 볼 수 있게 해 주신 blockchainstudio께 감사드립니다.
https://www.steemcoinpan.com/kr/blockchainstud...

rosatravels님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
rosatravels님의 Viewing my SCOT Voting Power for SCT

...ays! Steem is more alive than ever.Today, I heard from blockchainstudiowhere he created the very first Steem Engine SCOT Voting...

banguri님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
bluengel님의 [스판7큐레이팅] 데일리 20190524

...goodhello, eunsik, zzings, luckystrikes, blockchainstudio kstop1
https://www.steemcoinpan.com/sct/banguri/5-24-j...

kibumh님이 blockchainstudio님을 멘션하셨습니당. 아래 링크를 누르시면 연결되용~ ^^
kibumh님의 [고수에게 묻고 요청한다] #4 스테이킹100sct에 풀봇시 보팅되는 sct는 얼마?? 보팅보상^^

...감당을 못하니
지원하신분중 회신 받으신 분만 진행부탁드립니다.
(개인적으로 하시는건 자유)
아마도 blockchainstudio께서 뚝딱 만들어
내실것 같은데~~~ ㅋㅋ

이미 이렇게 만드셨으니 아래처럼 더 추가하는건
어렵지...

Coin Marketplace

STEEM 0.28
TRX 0.13
JST 0.032
BTC 61138.54
ETH 2920.26
USDT 1.00
SBD 3.54