This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
import bs58check from "bs58check"; | |
// @ts-ignore | |
import TronWeb from "tronweb"; | |
// Create a cache to store processed transactions | |
const processedTxCache = new Set<string>(); | |
const SUNSWAP_ROUTER_ABI = [ | |
{ | |
inputs: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. if anyone has $5000 for the x.com api we can make this way coooler. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a your name or twiter handle yolo, then a space, then a message, then a space, then an image url.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"contents":"","description":"\n\nhi padawan. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a twitter username without the @.\nfailure to do so won't do jackshit, but thank u for the sols ;)","extensions":{"description":"\n\nhi padawan. send 0.1+ sol to 7ihN8QaTfNoDTRTQGULCzbUT3PHwPDTu5Brcu4iT2paP to start playing.\ninclude a memo that is a twitter username without the @.\nfailure to do so won't do jackshit, but thank u for the sols ;)","twitter":"https://twitter.com/staccoverflow","twitter_user_id":"staccoverflow","website":"https://twitter.com/staccoverflow"},"image":"https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","name":"SolanaTweets: @staccoverflow","symbol":"staccoverflow and now; magick https://pbs.twimg.com/profile_images/1780083602509922304/rgqFeddo_400x400.jpg","tags":["currency"],"twitter":"https://twitter.com/staccoverflow","website":"https://twitter.com/staccoverflow"} |
NewerOlder