Posting with cli_wallet - EXAMPLE

in #steem-help8 years ago (edited)


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.

Sort:  

post_comment johnerminer "posting-with-cli-wallet-1" "" "steem-help" "Posting with cli_wallet - EXAMPLE" "<center>http://i.imgsafe.org/9c2d888e8d.png</center> \nThere is post_comment function documentation when you type help in **cli_wallet**:\n```post_comment(string author, string permlink, string parent_author, string parent_permlink, string title, string body, string json, bool broadcast)``` \nMore details in [GitHub repository](https://github.com/steemit/steem/blob/master/libraries/wallet/include/steemit/wallet/wallet.hpp#L680) \n```\n/**\n* Post or update a comment.\n*\n * @param author the name of the account authoring the comment\n * @param permlink the accountwide unique permlink for the comment\n * @param parent_author can be null if this is a top level comment\n * @param parent_permlink becomes category if parent_author is \"\"\n * @param title the title of the comment\n * @param body the body of the comment\n * @param json the json metadata of the comment\n * @param broadcast true if you wish to broadcast the transaction\n */\n``` \nBut 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](https://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? :) \n\nMy 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." "{\"tags\":[\"steem-help\",\"steemit\",\"cli_wallet\"],\"images\":[\"http://i.imgsafe.org/9c2d888e8d.png\"]}" false

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 68487.80
ETH 2454.84
USDT 1.00
SBD 2.61