This is the second update for steemsnippets, an open source collection of code snippets on steem-related libraries. You can find more info in it here.
Work done :
Added snippets :
Post (steemjs)
https://github.com/drov0/steemsnippets/blob/master/steemjs/post/post.js
Function header :
function post(username, password, main_tag, title, body, jsonMetadata, permlink)
Note that jsonMetadata and permlink are optional and that you can easily change this function to use a posting key instead of a password.
Comment (steemjs)
https://github.com/drov0/steemsnippets/blob/master/steemjs/comment/comment.js
function header :
function comment(username, password, author, permlink, text, jsonMetadata)
Note that jsonMetadata is optional and that you can easily change this function to use a posting key instead of a password.
Vote (steemjs)
https://github.com/drov0/steemsnippets/blob/master/steemjs/vote/vote.js
function header :
function vote(username, password, author, permlink, weight)
you also can easily change this function to use a posting key instead of a password.
I chose to use a password instead of a key all the time to it's easier for new programmers to use it but in a production environment you should always use the authentification with the smallest permission needed.
Now that I've covered a few basic function for steemjs, I will probably cover these same functions on other libs and then move onto some new functionalities.
commits :
github repos : https://github.com/drov0/steemsnippets
Proof of work can be found in the readme.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
It's planned ;)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Black magic for me😀 Pozdrawiam
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
What is the difference between your snippets and sc2-sdk?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
sc2-sdk is a library for steemconnectv2. My snippets are small pieces of code for a specific purpose (post, vote comment etc) so you can just copy paste them and have working applications faster.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @howo I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit