by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-avle-code-update-you-don-t-have-to-write-post-everyday Hello, this is @joviansummer, developer of @jsup and@avle voting service. Voting service code for @jsup and @avle has been updated. I had been considering this update for a while, and recently I could come up with detailed implementation plan which resulted in a relatively swift code revision. The new added feature is capability to give daily upvote to the first thing you write for the day(timezone GMT+9) regardless of post or comment/reply. Writing a post everyday can be challenging. In that case, you can write a reply to receive daily upvote because writing a reply everyday is much easier and also a good way to engage in your community. Writing a post everyday just to get an upvote can be very tedious and exhausting, and post itself could easily become low-quality. There may be people who enjoy writing a post everyday, but we can't ignore th...
파이썬 beem을 이용한 포스팅 - 댓글
- Get link
- X
- Other Apps
by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/3iny73-beem
파이썬 beem을 이용해서 특정 포스트에 댓글을 다는 방법입니다. 이전에 정리한 블로그 포스트 작성법에서 이어지는 내용입니다.
블로그 포스트와 달리 댓글은 포스트 제목이나 태그를 지정할 필요가 없습니다. 대신에 어느 포스트에 대한 댓글인지 지정해야 하므로 parent author와 parent permlink가 필요하겠죠.
예를 들어, 아래의 포스트에 댓글을 달아야 한다고 가정해 보겠습니다.
https://steemit.com/hive-141029/@joviansummer/steem-nft-nft
이 경우, parent author는 "joviansummer", parent permlink는 "steem-nft-nft"가 될 것입니다. 코드는 아래와 같이 작성할 수 있습니다. 제목은 빈 문자열을 사용하고 태그는 지정하지 않습니다.
from beem import Steem
from beembase.operations import Comment
from beem.transactionbuilder import TransactionBuilder
node_list = ["https://api.steemit.com"]
steem = Steem(node=node_list)
steem_id = 'joviansummer'
posting_key = '5XXXX...'
author = steem_id
permlink = 'my-reply-with-python-beem-test'
title = ''
body = '이것은 시험용 댓글입니다.'
# 댓글 작성 대상: joviansummer/steem-nft-nft
parent_author = 'joviansummer'
parent_permlink = 'steem-nft-nft'
# 포스트 전송
tx = TransactionBuilder(blockchain_instance=steem)
tx.appendOps(Comment(**{"parent_author": parent_author, "parent_permlink": parent_permlink, "author": author, "permlink": permlink, "title": title, "body":body}))
tx.appendWif(posting_key)
signed_tx = tx.sign()
broadcast_tx = tx.broadcast(trx_id=True)
태그가 필요 없기 때문에 코드에서 json_metadata 관련 내용이 없는 것을 볼 수 있습니다.
@joviansummer의 스팀 프로젝트
스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)
Popular posts from this blog
Nuitka - 파이썬 스크립트를 바이너리 실행 파일로 변환
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/nuitka 파이썬과 관련해서 재미 있는 프로젝트를 찾았습니다. Nuitka라는 프로젝트입니다. https://github.com/Nuitka/Nuitka 파이썬 스크립트를 C언어로 변환한 후에 컴파일하여 바이너리 실행 파일로 만들어준다고 합니다. 아직 사용해 보진 않았는데요. 라즈베리파이처럼 작은 컴퓨터에서 컴퓨팅 자원이 아쉬운 상황이라면 파이썬 스크립트를 직접 실행하는 것보다 Nuitka로 컴파일한 바이너리를 실행하면 자원이 절약될 것 같기도 합니다. 소스 코드를 공개하지 않아야 할 경우(코드에 패스워드가 포함되어 있는 경우 등)에도 사용할 수 있을 것 같네요. 어쨌든 나중에 필요할 수도 있을 듯해서 여기에 메모해 둡니다. @joviansummer의 스팀 프로젝트 스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다. ( https://steemitwallet.com/~witnesses ) jswit 증인 노드 프로젝트를 시작합니다. jsup 업보팅(upvoting) 서비스 소개 jsup 수혜자 지정 기능 추가 jSTEEM 프로젝트 - 텔레그램 챗봇으로 구현하는 스팀 블럭체인 탐색기 STEEM.NFT - 디지털 아트 보존 프로젝트
[EN] STEEM-services: dapps/services webpage with sort and search functions
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/en-steem-services-dapps-services-webpage-with-sort-and-search-functions Hello, this is @joviansummer(witness: @jswit). I expanded Steemit-Search website and made a simple webpage to list STEEM services. You can sort and search the records to find specific service. Here is the link: https://steemit.vercel.app/svcs If you want to add your service/dapp to the list, please write a reply to this post with the following information: category: social, nft, tool, voting, api, etc name: service/dapp name description: brief description for your service/dapp (preferably in English, less than 500 chars) link: link to your corresponding steemit post or webpage dev/admin: developer or admin account @steemchiller and @ety001, I took the liberty of adding SteemWorld, SDS API, and Steem Backup Data Server because I think they are essential services. If you want to add/modify/remove anything, please let me now. Than...
[ENG] jsup 2.0 - make your upvote great again
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/eng-jsup-2-0-make-your-upvote-great-again Hello, this is @joviansummer, developer of @jsup service. Beneficiary feature of @jsup service has been updated. For more information about the beneficiary feature, please check the following post: How to support your family members and friends with @jsup curation project Previously, if you specified beneficiary, the beneficiary also received curation reward generated by upvote. Now, there are 2 modes of support for beneficiary. Upvote only: Daily upvote goes to the beneficiary, but curation/passive reward goes to the delegator. If the beneficiary does not write post, passive reward goes to the delegator. Full support: Same as before. Curation/passive reward goes to the beneficiary. You can specify beneficiary by replying to the latest post of @jsup or @joviansummer. Default mode is upvote only. If you want go give full support to your beneficiary, please...
Comments
Post a Comment