Each and every Javascript developers on Steem has looked for the basics on how to interact with the Steem blockchain, that's a fact, the documentations are not that great (however the community is really here to help, you just need to find the right people!)
With this project I wanted to bring a very easy-to-use javascript library that will help beginners with Steem javascript development to perform actions on the Steem blockchain hence the name EasySteem :P
There is a documentation available at https://harpagon210.github.io/easysteem/index.html but I will show you in a few lines how easy it is to perform a few basic actions
1- add the EasySteem library to your project
<script src="https://cdn.jsdelivr.net/gh/harpagon210/[email protected]/dist/js/easysteem.min.js"></script>
2- instantiate the library
var easysteem = new EasySteem('my.app', 'mySuperApp', '1.0.0')
3- log the user into Steemconnect
easysteem.getLoginUrl(['comment'], 'https://my-awesome-website.com/steemconnect/')
4- parse the returned data from Steemconnect
easysteem.parseReturnedUrl('https://my-awesome-website.com/steemconnect/?access_token=THISISASECUREDTOKEN&expires_in=604800&username=harpagon')
5- create an article
easysteem.createPost( 'My article title!', '**My article body.**', 'my-article-category')
6- there is no 6... you're done already...
As for now you can perform basic actions like:
easysteem.steemconnectapieasysteem.steem.apiThe library is developed in Javascript ES6, it uses Steem and Steemconnect APIs to perform the actions on the blockchain
There are more basic features that I would like to add to this library to help even more the Steem development community
This project is open source and is available at https://github.com/harpagon210/easysteem