How easy it is to develop STEEM blockchain apps - with video tutorial!

in #steemdev7 years ago (edited)

In the span of only 9 minutes I'm going to write a basic app that posts an article to the STEEM blockchain and walk you through it step-by-step.

For those of you who don't want to follow along with the video, you can follow the steps and view the completed source on github here: https://github.com/jredbeard/steempostexample

References of places to gain the knowledge required to make this tutorial:

Alpha/pre-release of steemit developer portal: https://steemit.github.io/steemit-docs/
Examples within the steem-js repo on github: https://github.com/steemit/steem-js/tree/master/examples

It's my hope that this tutorial helps inspire others to develop applications that use the STEEM blockchain and see that it's not an unattainable or unrealistically difficult thing to do - in fact, it's quite simple. As time allows I may do further tutorials in the future, or maybe even a whole series.

Thanks for reading and watching, and STEEM on!

Edit: I've updated the example on github for the script line that pulls in the steem-js library to use https instead of http. Anywhere http exists in code should be considered a bug. :)

Sort:  
There are 5 pages
Pages

I'm gonna ask a real dummy question as a non developer. What part of that actually connected all that html with the steem blockchain?

Technically, the function steem.broadcast.comment(). The function is available by pulling in the steem-js library. By default it connects to steemit.com's public steemd nodes but you can easily have it connect elsewhere instead. The public nodes make it easy for developers to kickstart/develop their own projects without additional infrastructure.

Does this only allow you to build a frontend app around the steem crypto? or can you use this to create your own token/coin and web app? does this have to be built on a server or can you do it all local? what if I wanted to make it more like twitter or instagram? or pull in apis from Google for youtube or search to build something new? does it build it on top of steem? or could I rename and make my own blockchain named creem? hypothetically?

That is what the upcoming steem smt's are for: https://smt.steem.io

Do you know (or can you share) when the SMT dev tools will be available? I am very excited to dive in.

And if you would like to learn how to write code, there is a great opportunity, because of CodeSchool Free Weekend :)

There is dedicated path for JavaScript and many, many others! :)

Great article, I would love to learn more of this type of dev for Steem and blockchain in general. What resources do you recommend?

The ongoing and evolving developer portal is a good place to reference available functions, https://steemit.github.io/steemit-docs/

Also, if you search the #steemdev tag here on steemit you can find quite a few good examples that other steemians have already posted.

@justinw
Thank you for sharing your knowledge. I will follow you for your promise to provide more easy to follow tutorials.

Follow me @Yehey
Cheers for now.

Thank you for sharing with us! I hope you enjoy the upvote! i follow you,,,

Thanks so much for this. But what do you say to a lib arts degree who is still leery about diving into this arena?

I totally agree with you, @luisneira! I am looking into this right now myself and I think posts like this help the community to evolve much faster. Steemit FTW!

Thanks for the great read, @justinw!

That was interesting. I've never seen someone actually do what you did on the video. Makes it look achievable and takes the mystery out of it. Well done.

Agreed. Even if one doesn't pursue the actual programming, it is helpful/insightful to know what is involved, and that it is not rocket science. I have some HTML skills, and have dabbled in Javascript - and this post makes me actually consider trying my hand at Javascript again if it will useful into the future. Yes, a series would be great -or at least a few more practical examples like this one. Thanks.

Bereh that tulesan droe neuh hy @justinw eukk, lage lam kapai are.
Nyoe kan ku tuleh nyoe koen pu laen, nyoe ku meuharap meurumpok persen bacut bak si karma, meunyoe hana jih jok persen meu bacut theh sang hana so jok keudroe kuh, jadi nyoe komen lon numpang jak siat, meuah beuh, bek neukira apam syara beh, trimong geunaseh, mnyoe awak blah deuh khen thank you very much, nyan ban :)

I have been thinking of working on a Steemit for last couple of weeks. But have been giving up as using Condenser from https://github.com/steemit/condenser felt like a overkill to me.

This video does justice to the title How easy it is to develop STEEM blockchain apps. Thanks to you I will take another dig at this.

Nice! this is great I will try to do it I have some background on coding.

Not hard indeed

Hay @justinw,

This vid is really great and shows how easy Steem transactions are in the end. I really like the idea and this post is really inspiring to do something simular for SteemJ. Thank you for that and best regars! 😊💪

Awesome, that's a great idea - the more hands-on examples we do with the various STEEM libraries, the more development becomes a real possibility for people.

how many way can one say~ thank you!!!?

Your obviously a clever bloke

 7 years ago  Reveal Comment

Yes

thx for the info you post my friend, Steem on

Can't wait to see Steemit in full Beast mode!

Great post @justinw TY for sharing development of FinTech future which we each can participate!

Thanks for updating the example at Github.

Thank you so much! Now that you have posting covered, could you also cover reading from blockchain part also? I'm looking to integrate this kind of functionality to my own site and I need to keep eye on certain posts (filtered by permlink perhaps? ) and save comments and votes made on them to my own database. Followed and resteemed, hopefully you'll go for whole series of stuff like this!

it's steemjs right? i've made site using python steemit api. what site does is it waits 6 user and then exchanges their upvotes for the post they provide bot some users told me that it's bad for steem platform and i stopped my production. if you want to check out tell me i don't want to make ads or something

This is using steem-js, yes. For python, I would recommend using the official steem-python library here: https://github.com/steemit/steem-python

There's also some excellent documentation for it here: http://steem.readthedocs.io/en/latest/

What library are you using that does what you have described?

The first likn you provided. Puthon official steem api. And steemjs to check provided username and key until server goes for it.you know you have to avoid as much thing as you can to do on your server.

I've been meaning to start learning to develop steem apps for a while now. This was great! Thanks :)

@justinw - Thank you so much for sharing this amazing article. I was looking for something as point of reference to start working on my first Blockchain app and Here comes your ONE STOP SHOP!! Love it!

Thank you!!


Latest Food Post by CQ🍎🍉🍸
Fat cutter 🌶 Spicy Beet Bot🤖 Juice 🍹

🥕🥑🍹

This is very good information to know .

Thanks! I'm glad you liked it.

It is sufficient if i know python and html can i develop using python??

HEY great steemit post love to have more such post

Good info man. I was looking for this same for my programmer friend.

I thought this was a really good tutorial.
Still scratching my head trying to figure out how I have never seen Atom text editor around before, I must be living under a rock. :)

hello mosfiq vai!!! follow me on @farhanasayed :)

Thanks! I was just looking for something like this to get started developing with the STEEM blockchain.

I Will try.....hopefully itu will works

Steemdev is so great! Thank you friends have shared a good post!

Interesting.

Thanks for sharing.

I Love seeing the growing uses for steem

Thanks for the great intro to steem-dev.

Barcelona España 🇪🇸 está siendo víctima del terrorismo apoyo por favor @

Nice! This puts me one step closer to developing my super secret dream app for steemit!

Cool, what's the idea for your dream app? ;)

Thank you so much i have been looking for a video like this. Sweet.

Thanks! I want to start developing apps for STEEM and this is exactly what I was looking for.

Super-cool and peachy keen. Inspiring work; I wonder how one can take it a step further. I am a complete novice at code (barring some basic HTML, I guess) but you make it seem so ... possible.

Nicely done, thanks! Upvoted and Resteemed!

!עבודה יפה

You are the master, me . . . I am just along for the fun. I have resteemed this however, to hold it in place for my wife who is the computer geek, hoping she will do one for me, I follow you for more that I know will be coming

excellent!

could you please show how to retrieve blog post from the steem and show it in a page? for instance, I have a blog website and want to show post from my steem account there. But not the feed or rss.

Yes - something like that could be a topic for a future post potentially

That is so interesting and so simple. Thank you for posting.
By the way, why does your steemit page say that post was posted 2 days ago, when you just posted it "now"?
Joe
@joe.nobel

Because I originally did this on Sunday in my spare time, recorded the video yesterday, and then finally got around to posting about it today - I have a busy schedule :)

Ah ha!
Okay didn't mean to be nitpicky, actually, I don't know why I mentioned it at all, other than that I am trying to understand this whole concept of steemit and everything that goes with it, so I'm being super-critical with anything I don't understand.
Like I said, Thanks for this post,
Joe

PS Now following you.

It's ok, it's a valid question. It just shows you were paying attention :)

Thanks man, that was very informative and clear.

Is there also a dev blockchain available, I can think that we don't want to swamp steem with all sorts of trivial test messages.

I'm running a unofficial public test net here: https://testnet.steem.vc
Feel free to use it for testing!

And here's the condenser instance pointing to it: https://condenser.steem.vc

Cool, I thought I'd read something about a testnet, but wasn't sure.

Thanks for that.

There isn't a public testnet available (yet) but stake-based bandwidth limitations prevent users from being able to fill the blockchain with unreasonable amounts of data, so, test away!

Thanks, will do. I was just wondering after having read some comment about blockchain bloat with the bots.

is it like developing a bot?

Great! Thank you!

I am just wondering why it's the 'comment' function...

To the blockchain, a new article is actually the same as a comment - it just doesn't have a 'parent' article tied to it like comments do. An article is a top-level comment, and comments on articles are 2nd/3rd etc level with the article as it's 'parent'.

This is awesome, I always wanted to learn how to code but i can't get my head wrapped around the technical aspects of things lol. I might give this a shot.

What did you want to develop? @kryptokayden

I don't really know, I just thought it's cool to learn to write some simple scripts lol

It is totally cool to learn to code!

If you're looking to learn to code there are some good sites out there.

Coursera.org (free)
Udemy.com
Teamtreehouse.com
Lynda.com

Awesome! I will check those over the weekend.

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

Award for the number of upvotes received
Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Great Idea I Will Go Deep On It

That good tutorial, is inspiring, thanks, I follow you from Venezuela, greetings

Thanks! I'm gonna Resteem.

There are 5 pages
Pages