Skip to content

Instantly share code, notes, and snippets.

{
"url": "https://t.me/pawnshopducks_bot",
"name": "PawnShopDucks",
"iconUrl":"https://i.imgur.com/p4ZO5wy.png"
}
@imartemy1524
imartemy1524 / mempoolspam.py
Created August 21, 2023 20:42
Count mempool spam transactions count
import time
import traceback
import requests
mempool_api_url = "https://mempool.space/api/mempool/txids"
print("Downlaoding data....\nIt can take some time - up to 1-2 minutes with slow internet connection")
# Fetch mempool transactions
response = requests.get(mempool_api_url)
//region Id3 writer - https://github.com/egoroof/browser-id3-writer
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).ID3Writer=t()}(this,function(){"use strict";function a(e){return String(e).split("").map(function(e){return e.charCodeAt(0)})}function o(e){return new Uint8Array(a(e))}function u(e){var t=new Uint8Array(2*e.length);return new Uint16Array(t.buffer).set(a(e)),t}return function(){var e=t.prototype;function t(e){if(!(e&&"object"==typeof e&&"byteLength"in e))throw new Error("First argument should be an instance of ArrayBuffer or Buffer");this.arrayBuffer=e,this.padding=4096,this.frames=[],this.url=""}return e._setIntegerFrame=function(e,t){var a=parseInt(t,10);this.frames.push({name:e,value:a,size:11+a.toString().length})},e._setStringFrame=function(e,t){var a=t.toString();this.frames.push({name:e,value:a,size:13+2*a.length})},e._setPictureFrame=function(e,t,a,r){var n,s,i,c=function(e){if(!e||!e.length
@imartemy1524
imartemy1524 / tonconnectmanifest.json
Created April 25, 2023 17:53
tonconnectmanifest
{
"url": "https://t.me/tonbingo_bot",
"name": "TON Bingo",
"iconUrl":"https://i.imgur.com/XLHrMIU.png"
}