A collection of snippets for steem programming
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dsteem
steem-python
steemconnect/check_token
steemjs
LICENSE
README.md

README.md

Steemsnippets

This is a collection of various snippets for steem.

This is intended to be a collection where people can come, search for a specific functionality and have a working code snippet associated.

If you try a snippet and it ends up not working/is outdated, please open an issue or a pull request :)

Don't hesitate to submit a pull request if you want to contribute to the collection.

Made by @howo : https://steemit.com/@howo

Current snippets :

Steem-js

Active snippets (add things to the blockchain)

Passive snippets (read from the blockchain) :

Dsteem

steem-python

How to contribute

I obviously accept external pull requests. Look up github's documentation on How to create a pull request on how to do so. But make sure you follow these rules :

  • The function must be small and must only do one action (post an article, broadcast a vote etc).
  • The function must be fully commented jsdoc/python docstring style
  • The files must follow the directory structure :
    • /library/nameofthesnippet/nameofhtesnippet.js/.py
  • The file must include an installation file with all the dependencies. Aka a requirements.txt for python or a package.json for nodejs. This must be placed next to the source code file.