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...

파이썬(steem-python)을 이용한 포스팅 - 블로그

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/4ykub6-steem-python


steem-python을 이용해서 스팀잇에 포스팅을 할 수 있습니다. 우선 가장 간단한 블로그 포스팅을 보겠습니다.

Steem 객체를 사용하며 포스팅키(private posting key)가 필요합니다.

from steem import Steem

# 포스팅키
posting_key = "5XXXXXX...."
# 작성자 ID
steem_id = "joviansummer"
# 제목
title = "포스팅합니다."
# 본문
body = "본문 첫번째 줄입니다.\n본문 2번째 줄입니다."
# 태그
tag_list = "kr krsuccess"

# 포스팅하기
s = Steem(keys=[posting_key])
s.commit.post(title=title, body=body, author=steem_id, tags=tag_list)

위와 같이 하면 joviansummer의 블로그(blog)에 포스트를 전송합니다. 위의 예시에서 변수 body를 보면 본문이 여러줄로 되어 있을 경우 "\n"으로 줄바꿈을 해 주는 것을 알 수 있습니다.

이미지 추가는 위의 방법으로 할 수 없으며, 이미 올려져 있는 이미지의 링크를 사용해야 합니다.

steem-python 문서(https://steem.readthedocs.io/en/latest/를 보면 커뮤니티를 지정할 때 post()에 community="커뮤니티 이름" 이런 식으로 지정할 수 있다고 나와 있는데, 실험해 본 바에 의하면 이렇게 해도 커뮤니티에 포스팅이 되지 않습니다. 이 부분은 추후에 별도로 포스팅하겠습니다.

Comments

Popular posts from this blog

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

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

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