perl library Steemit::WsClient - update 0.11 - posting and deleting comments

3년 전

New Features

Comment/Delete Comment methods

its now possible to add and remove comments.
the usage is fairly convenient.

my $steem = Steemit::WsClient->new(
   posting_key => 'copy this one from the steemit site',

);

$steem->comment(
      "parent_author"   => $parent_author,
      "parent_permlink" => $parent_permlink,
      "author"          => $author,
      "permlink"        => $permlink,
      "title"           => $title,
      "body"            => $body,
      "json_metadata"   => $json_metadata,
);

$steem->delete_comment(
   author => $author,
   permlink => $permlink
)

To support this some things from the state of my latest post had to be cleaned up. There is now a new module Steemit::OperationSerializer that woll hold all the serialisation methods of the operations that Steemit transaction allow.

Deterministic DSA implementation
  • the dependency to Bytes::Random::Secure wes removed and instead the deterministic "K" generation as described in rfc6979#section-3.2 was implemented in this commit
    • why is this a feature you might ask? ;) it results in you being able to perform more actions on one system in the same time frame. The reason for this is, as with so many things in life, Entropy
    • The secure random generator needs entropy in your system to generate secure enough random numbers
    • When not enough entropy is thereby, for example, moving your mouse or doing a lot of IO operations it will just hang and wait for more "randomness" in your system to build up.
    • For ECDSA we don't really need randomness to generate our "K" which we use in the signature. We just need to be sure to not use the same "K" with different messages ever. So the implemented algorithm creates K based on your private key + the message itself and thus ensures that while still saving we no longer rely on entropy to sign messages.
More documentation

in the Documentation on cpan there are now all methods explained and examples for use cases like

  • searching posts with different sorting and pagination
  • voting on discussions
  • posting and deleting comments

Roadmap

Currently the basic functionality is there but now comes the time for further improvements.

  • include more functionalities of steem
  • more tests have to be written
  • making some of the submodules into their own distributions may help kickstart more development in the perl crypto space since in my research i noticed that a lot of concepts in various crypto projects are based on the same basics used in bitcoin originally

How to contribute?

  • the whole procent is up on githup and im happy for issue reports or pull requests
  • you can contact me on steem or via my cpan mail address snkoehn@cpan.org



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Hey @hoffmann I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

this is nice post and good job sir.....

·

Please Stop - @kingparvez

You just said "good job","nice post" and in your your last 100 comments you used 45 phrases considered to be spam and you made this exact same comment 1 times. You've received 0 flags and you may see more on comments like these. These comments are the reason why your Steem Sincerity API classification scores are Spam: 84.20% and Bot: 2.00%

Please stop making comments like this and read the ways to avoid @pleasestop and earn the support of the community.

Awesome :) thanks for sharing !

very nice project and infos thank you

Hey bro, good post, I invite you to www.Yours.org a new social network like steemit, you will love it, see you there!

Congratulations @hoffmann! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @hoffmann! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @hoffmann! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

SteemitBoard - Witness Update
SteemFest³ - SteemitBoard support the Travel Reimbursement Fund.

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @hoffmann! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @hoffmann! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!