How to write good SMT code

enn0(52)
Published in
#smt
Words
16
Reading
1 min
Listen
Play
8y

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

How to write good SMT code | Ecency