STEEM POWER retention ratio of top 50 witnesses

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/steem-power-retention-ratio-of-top-50-witnesses Hello, this is @joviansummer(witness: @jswit). Some time ago there was a bit of discussion on discord witness chanel about witnesses' power-down/cashing-out. So out of curiosity I just checked current ratio of witnesses' own STEEM POWER(VESTS) and all-time producer reward(VESTS). The ratio is calculated by the following simple formula: ratio(%) = account's own SP(MV) / all-time producer reward SP(MV) * 100% Ratio value less than 100% indicates power-down. If witness does additional power-up or gets other types of reward(e.g., curation reward), the ratio may exceed 100%. This does not take witness' other accounts into consideration. All-time producer reward data is from @steemchiller's SDS API. Here is the result: rank account own_sp prod_sp ratio 1 justyy 2188.411MV 1284.2MV 170.41% 2 steemchiller 982.134MV 124...

파이썬 beem에서 블러트(Blurt) 객체 사용

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/beem-blurt


jsBLURT 작업 진행과 별도로, 파이썬의 beem 모듈에 대한 내용을 조금씩 정리해 보려고 합니다. 일단은 블러트를 기준으로 하지만 스팀이나 하이브에서도 크게 다르지 않기 때문에 파이썬을 사용하는 개발자에겐 나름 참고자료가 될 수 있으리라고 생각합니다.

파이썬 beem의 깃허브 페이지는 아래의 링크입니다.

https://github.com/holgern/beem

깃허브 페이지의 내용을 보면 스팀/하이브 대응 파이썬 라이브러리인 것 같지만, 블러트에서도 사용 가능합니다.

사용법은 아래의 링크에서 볼 수 있습니다.

https://beem.readthedocs.io/en/latest/

블러트 객체를 이용해서 블럭체인 파라메터를 확인해 보겠습니다. 블러트의 기본 rpc 노드는 rpc.blurt.world입니다.

from beem import Blurt

# 블러트 rpc 노드
blurt_node = ["https://rpc.blurt.world"]

# 블러트 객체 생성
blurt = Blurt(node=blurt_node)

# 블럭체인 파라메터 출력
print(blurt.chain_params)

{'chain_id': 'cd8d90f29ae273abec3eaa7731e25934c63eb654d55080caff2ebb7f5df6381f', 'min_version': '0.0.0', 'prefix': 'BLT', 'chain_assets': [{'asset': '@@000000021', 'symbol': 'BLURT', 'precision': 3, 'id': 1}, {'asset': '@@000000037', 'symbol': 'VESTS', 'precision': 6, 'id': 2}]}

이제 여기서부터 블러트 rpc 노드와의 통신을 통한 다양한 작업을 파이썬으로 개발할 수 있습니다. 사용법 페이지에 Blurt 객체에 대한 내용이 없다는 것이 조금 불편합니다만, Hive 객체에 대한 내용을 기반으로 적당히 이리 저리 시험해 보면 됩니다.

Account 등 다른 객체들은 스팀/하이브/블러트와 무관하게 사용하게 되므로 코드를 재사용할 수 있어 편리합니다.


@joviansummer의 스팀 프로젝트

스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)

jswit 증인 노드 프로젝트를 시작합니다.

jsup 업보팅(upvoting) 서비스 소개

jsup 수혜자 지정 기능 추가

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기