GentBG x PUSSTEEM - burning both STEEM and PUSS

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/gentbg-x-pussteem-burning-both-steem-and-puss Hello, this is @joviansummer(witness: @jswit), developer of GentBG project. I registered @gentbg account to PUSSTEEM about a week ago and donated some of my own PUSS token to @gentbg's EPUSS account. Now, @gentbg will burn STEEM and EPUSS at the same time. PUSSTEEM's boosting upvotes will help increasing baseline burning significantly. @gentbg's SP reward is delegate to @jsup to get automated upvotes, forming a baseline burning of liquid reward independent of other people's upvotes. Some may argue 100%(both liquid and SP reward) burning is much better, but I chose this approach to prevent @gentbg from becoming a spamming account. Constantly asking for upvotes via mentioning and commenting every week may eventually become a big annoyance to curators. That being said, anyone is welcome to participate in countering STEEM inflation by giving upvotes ...

파이썬(steem-python)에서 스팀잇 계정 정보 확인

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


steem-python에서 특정 스팀id에 대한 전반적인 정보를 확인하는 방법입니다. 예시만 보면 금방 알 수 있습니다. joviansummer의 계정 정보를 가져와 봅니다.

from steem import Steem

steem_id = 'joviansummer'
s = Steem()
user_info = s.get_account(steem_id)

위와 같이 하면 변수 user_info에 각종 정보가 딕셔너리(dict) 형식으로 할당됩니다. 전체 내용을 출력하거나 키(key)를 확인해서 어떤 항목이 있는지 알 수 있습니다.

# user_info 출력
print(user_info)

# 키(key)만 출력
for key in user_info:
  print(key)

키(key)를 알아냈으면 이제 필요한 값을 출력해 볼 수 있습니다.

# 현재 보유중인 스팀
print(user_info['balance'])
# 현재 보유중인 SBD
print(user_info['sbd_balance'])

현재 보유중인 스팀파워는 "vest"라는 단위의 수치로 확인할 수 있습니다.

# 스팀파워(단위: vest)
print(user_info['vesting_shares'])

Comments

Popular posts from this blog

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

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

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