Posting with cli_wallet - EXAMPLE


There is post_comment function documentation when you type help in cli_wallet:
post_comment(string author, string permlink, string parent_author, string parent_permlink, string title, string body, string json, bool broadcast)
More details in GitHub repository

/**
*  Post or update a comment.
*
       *  @param author the name of the account authoring the comment
       *  @param permlink the accountwide unique permlink for the comment
       *  @param parent_author can be null if this is a top level comment
       *  @param parent_permlink becomes category if parent_author is ""
       *  @param title the title of the comment
       *  @param body the body of the comment
       *  @param json the json metadata of the comment
       *  @param broadcast true if you wish to broadcast the transaction
       */

But for some reasons I had problems with posting my own articles anyway. There is a great example of replaying to post/comment on www.steemd.com but the site does not provide any examples of submitting posts(not comments) to the blockchain. @roadspace maybe there is something that could be done to add this functionality? :)

My article provides example of post_comment function used in cli_wallet to submit this article along with the whole command used to submit this article presented in the first comment below.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center