How to write good SMT code

in #smt7 years ago

Here's an example code for the new Smart Media Tokens dApps

SMT.begKindly("WhaleUserName", "postUrl")
   .then(function(response)
    {
         if(response.HasVotedMe){
               response.UpvoteBack();
               response.Comment("Thank you so much, thankthankthankthankthank"); 
         }
         else
         {
             response.CircleJerk();
             response.BidBot();
             response.EpicFlagWar();
         }
    });

this is a joke

Sort:  

enn0.replaceMood(cheerful.init());
enn0.restart();

🎜cuz I'm happpyyyyyy 🎉
👏 Clap along if you feel like a room without a roof🏡

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by enn0 from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

LOOL this was the FIRST result i just got googling 'how to write smt code steem' Epic.

Whoopsie. SEO's a bitch.

Hope it actually helped a bit! #not