Javascript Tutorials for the Developer Portal
These examples/tutorials will familiarize you with the basics of operating on the steem blockchain.
Each tutorial is located in its own folder, and has a README.md with an outline of the basic concepts and operations it intends to teach.
The tutorials build on each other. It's suggested you go through them in-order.
- Blog Feed - Pull the list of a user's posts from the blockchain
- Steemconnect - Getting started with setting up Steemconnect
- Client-side signing - Generate, sign, verify and broadcast transactions via client-side without Steemconnect
- Get posts with filters - How to query for posts with specific filters & tags
- Get post details - How to get details of each post
- Get voters list on content - How to get voters info on post/comment
- Get post comments - How to fetch all comments made on particular post
- Get account replies - How to get list of latest comments made on content of particular account
- Get account comments - How to get list of comments made by particular account
- Submit post - How properly format and submit post
- Submit comment - How to submit reply to particular post
- Edit content - How to properly patch edited content and submit edits
- Reblog/Resteem a post - How to reblog/resteem a post
Use the command line/terminal for the following instructions
-
clone this repo
git clone [email protected]:steemit/devportal.git
-
cd into the tutorial you wish to run
ex:
cd tutorials/11_submit_comment_reply
-
Use npm or yarn to install dependencies
ex:
npm i
-
Run the tutorial
npm run dev-server
ornpm run start
-
After a few moments, the server should be running at http://localhost:3000/
If you're interested in contributing a tutorial to this repo. Please have a look at the guidelines for the text portion of the tutorial..