Enn0 avatar

How to write good SMT code

enn0

Published: 03 Aug 2018 › Updated: 03 Aug 2018How to write good SMT code

How to write good SMT code

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

Leave How to write good SMT code to:

Written by

A boring title including what I am and my passions

Read more #smt posts


Best Posts From Enn0

We have not curated any of enn0's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Enn0