jsup 2.1 - investor's relief (experiment on separation of investment and SNS)

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-2-1-investor-s-relief-experiment-on-separation-of-investment-and-sns Hello, this is @joviansummer(witness: @jswit). I'm starting a new experiment regarding my @jsup vote service. The purpose of this experiment is to separate STEEM investment and social interaction(posting/commenting). For many people, writing a post daily(literally 365 posts per year) is not easy. It's not fun, and mandatory daily post only written for self-voting delegation service tends to result in useless low-quality content. I hope this new function of @jsup will reduce those posts, and also make it a bit more easy to invest in STEEM without worrying about daily posting. I think pressure of daily posting significantly undermines Steem as SNS. It's not fun. This is how it works: From 11:45 PM to 11:50 PM every night(reference time zone is GMT+9), @jsup checks if eligible delegators wrote something and received daily v...

파이썬 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포스팅 강박에서 벗어나기