Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const apiKey = 'tpubD9fidjoMPrsWMvKHTxoru55uFAdKARWmqTQ1TpsaoaVvXu9P4U87Qf83PmkXBfSa4UC3m2eHxaCewNqp8M2TtUsLXMHHD5Q7gtik34n7pNa'
- const run = new Run({ network: 'test',
- purse: new star.StarPay(apiKey) })
- class LIKE2 extends Jig {
- init(owner) {
- this.hopcount = 0;
- this.maxHops = 1;
- this.owner = owner;
- this.message = "";
- //this.icon = {emoji:"👍"};
- }
- send(to, message) {
- if (this.hopcount < this.maxHops)
- {
- this.owner = to;
- this.message = message;
- this.hopcount = this.hopcount+1;
- }else{
- return false;
- }
- }
- }
- LIKE2.icon = {emoji:"👍"};
- //User kauft 1 LIKES von Likefactory
- const likewise2 = new LIKE2("0240202b4814beff0c2bfd6d695fd9b69ea5e682d9625475114b737ae3c308c461");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement