2 Commits 6894b5e726 ... d3691d6131

Author SHA1 Message Date
  windowdog d3691d6131 run 1 month ago
  windowdog f363bf0b74 running 1 month ago

+ 133 - 0
src/code/tamper_listen_filter_pump_token_gmgn.js

@@ -0,0 +1,133 @@
+// ==UserScript==
+// @name         get_filter_pump_token_gmgn
+// @namespace    http://tampermonkey.net/
+// @version      2025-02-16
+// @description  try to take over the world!
+// @author       You
+// @match        https://gmgn.ai/meme/9Z7Wz20p?chain=sol&tab=complete*
+// @icon         https://www.google.com/s2/favicons?sz=64&domain=gmgn.ai
+// @grant        none
+// ==/UserScript==
+
+
+// https://gmgn.ai/meme/9Z7Wz20p?chain=sol
+// https://gmgn.ai/meme/9Z7Wz20p?chain=sol&tab=complete
+
+
+function funcDownload(content, filename) {
+    console.log('begin download');
+    // 创建隐藏的可下载链接
+    let eleLink = document.createElement('a');
+    eleLink.download = filename;
+    eleLink.style.display = 'none';
+    // 字符内容转变成blob地址
+    let blob = new Blob([content]);
+    eleLink.href = URL.createObjectURL(blob);
+    // 触发点击
+    document.body.appendChild(eleLink);
+    eleLink.click();
+    // 然后移除
+    document.body.removeChild(eleLink);
+}
+
+
+function sleep(sleepdelay) {
+    return new Promise((resolve, reject) => {
+        setTimeout(() => {
+            resolve(sleepdelay);
+        }, sleepdelay);
+    })
+}
+
+
+let tbody = document.querySelector('#__next > div > div > main > div.css-xe3de5 > div.css-b0bdxf > div > div > div > div > div.g-table-tbody-virtual.g-table-tbody > div.g-table-tbody-virtual-holder > div > div')
+let arr_token_row = Array.from(tbody.children);
+let arr_res_data = [];
+// let arr_title = ['token_url', 'token_name', 'age', 'liq/initial', 'mc', 'holders', '24h txs', '24h vol', 'price', '1m%', '5m%', '1h%', 'degen audit', 'dev'];
+
+let arr_title = ['token_url', 'token_name', 'age', 'liq/initial', 'mc', 'holders', 'nomint', 'blacklist', 'burnt', 'top 10', 'insiders', 'dev'];
+
+
+
+function save_resdata() {
+    console.log("enter save_resdata");
+    arr_res_data.forEach((val, index, arr) => { arr[index] = val.join() + "\n" });
+
+    funcDownload(res_data.join(""), "gmgn_pump_" + parseInt(Date.now() / 1000) + ".csv");
+    arr_res_data = [];
+
+}
+
+for (let idx = 0; idx < arr_token_row.length; idx++) {
+    let arr_cur = [];
+    let arr_td = Array.from(arr_token_row[idx].children);
+    for (let idx2 = 0; idx2 < arr_td.length; idx2++) {
+        if (idx2 == 0) {
+            // Token
+            let a_ele = arr_td[idx2].querySelector('a');
+            // arr_cur.push(arr_td[idx2].querySelector('a').href);
+            let url_ = a_ele.href;
+            let title = a_ele.querySelector('[title]').getAttribute('title');
+            // title = "RONASZN"
+            arr_cur.push(url_);
+            arr_cur.push(title);
+
+
+        }
+        else if (idx2 == 1) {
+            // Age
+            arr_cur.push(arr_td[idx2].innerText);
+        }
+        else if (idx2 == 2) {
+            // Liq /initial
+
+        }
+        else if (idx2 == 3) {
+            //  MC  
+            arr_cur.push(arr_td[idx2].innerText);
+        }
+        else if (idx2 == 4) {
+            // holders
+            arr_cur.push(arr_td[idx2].innerText);
+        }
+        else if (idx2 == 5) {
+            // 24txns
+
+        }
+        else if (idx2 == 6) {
+            // 24vol
+
+        }
+        else if (idx2 == 7) {
+            // price
+
+        } else if (idx2 == 8) {
+            // 1m%
+        }
+        else if (idx2 == 9) {
+            // 5m%
+
+        }
+        else if (idx2 == 10) {
+            // 1h%
+
+        } else if (idx2 == 11) {
+            // degen audit
+
+            //  'nomint', 'blacklist', 'burnt', 'top 10', 'insiders' 
+
+            let arr_ = arr_td[idx2].innerText.split(/\s+/);
+            arr_cur.push(arr_[0]);
+            arr_cur.push(arr_[2]);
+            arr_cur.push(arr_[4]);
+            arr_cur.push(arr_[6]);
+            arr_cur.push(arr_[9]);
+        } else if (idx2 == 12) {
+            // dev
+            arr_cur.push(arr_td[idx2].innerText.trim().replace(/[\n-]+/g, '-'));
+        }
+
+    }
+    arr_res_data.push(arr_cur);
+
+}

+ 165 - 0
src/code/tamper_listen_gmgn_token_long.js

@@ -0,0 +1,165 @@
+// ==UserScript==
+// @name         Dex-Filter-ListenToken-Long-SOL
+// @namespace    http://tampermonkey.net/
+// @version      0.1
+// @description  try to take over the world!
+// @author       You
+// @match        https://dexscreener.com/new-pairs?rankBy=txns&order=desc&chainIds=solana&dexIds=raydium&minLiq=8000&minAge=48&min24HTxns=300&min24HBuys=100&min1HChg=4&min5MChg=2
+// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
+// @grant        none
+
+// ==/UserScript==
+
+
+
+function funcDownload(content, filename) {
+    // 创建隐藏的可下载链接
+    let eleLink = document.createElement('a');
+    eleLink.download = filename;
+    eleLink.style.display = 'none';
+    // 字符内容转变成blob地址
+    let blob = new Blob([content]);
+    eleLink.href = URL.createObjectURL(blob);
+    // 触发点击
+    document.body.appendChild(eleLink);
+    eleLink.click();
+    // 然后移除
+    document.body.removeChild(eleLink);
+}
+
+
+function sleep(sleepdelay) {
+    return new Promise((resolve, reject) => {
+        setTimeout(() => {
+            resolve(sleepdelay);
+        }, sleepdelay);
+    })
+}
+
+
+
+
+var pre_click_timestamp = 0;
+
+var now_timestamp = 0;
+
+function click_avoid_sleep() {
+    if (now_timestamp - pre_click_timestamp >= 2 * 60 * 1000) {
+        pre_click_timestamp = now_timestamp;
+        let th = document.querySelector("div.ds-dex-table-th");
+
+        let button_click = th.children[5].querySelector("button");
+        button_click.click();
+    }
+
+
+
+}
+function click_avoid_sleep() {
+    if (now_timestamp - pre_click_timestamp >= 2 * 60 * 1000) {
+        pre_click_timestamp = now_timestamp;
+        let th = document.querySelector("div.ds-dex-table-th");
+
+        let button_click = th.children[5].querySelector("button");
+        button_click.click();
+    }
+
+
+
+}
+
+
+
+
+async function get_tbody_data() {
+
+
+
+    now_timestamp = Date.now();
+
+    click_avoid_sleep();
+    save_resdata();
+
+}
+
+
+
+function save_resdata() {
+    // console.log("enter save_resdata");
+    drop_outtime_pairaddress();
+
+    let set_intersection_pairaddress = new Set([...set_now_pairaddress].filter(value => set_pre_pairaddress.has(value)));
+
+
+    // console.log("set_intersection_pairaddress=", set_intersection_pairaddress, 'set_pre_pairaddress=', set_pre_pairaddress, "set_now_pairaddress=", set_now_pairaddress);
+    set_pre_pairaddress.clear();
+    set_pre_pairaddress = set_now_pairaddress;
+    set_now_pairaddress = new Set();
+
+
+    if (set_intersection_pairaddress.size == 0) {
+        return;
+    }
+
+
+    let temp_arr_res_data = arr_res_data;
+
+    arr_res_data = [];
+
+    for (let it of temp_arr_res_data) {
+
+
+        arr_res_data.push(it);
+
+
+    }
+
+
+
+    if (arr_res_data.length == 0) {
+        // res 为空
+        // console.log("arr_res_data length is 0");
+        return;
+    }
+
+    // console.log("arr_res_data=", arr_res_data)
+    arr_res_data.unshift(["timestamp", "pairaddress", "price", "5m", "1h", "6h", "24h"]);
+
+    arr_res_data.forEach((val, index, arr) => { arr[index] = val.join() + "\n" });
+
+    let str_cur_time = "" + Date.now();
+
+
+    funcDownload(arr_res_data.join(""), str_cur_time + "_long" + ".csv");
+    arr_res_data = [];
+
+}
+
+function autoScroll() {
+    console.log("enter autoScroll");
+    async function fetchData() {
+        await get_tbody_data();
+        setTimeout(fetchData, 15 * 1000);
+    }
+
+    setTimeout(fetchData, 15 * 1000);
+
+}
+
+
+var arr_res_data = [];
+var set_pre_pairaddress = new Set();
+var set_now_pairaddress = new Set();
+// window.addEventListener('load', () => {
+
+(async function () {
+    console.log("enter load");
+    await sleep(6000);
+    autoScroll();
+
+
+})();
+
+
+
+

+ 0 - 14
src/library/analysis_token/HeJUFDxfJSzYFUuHLxkMqCgytU31G6mjP4wKviwqpump/分析.md

@@ -4,17 +4,3 @@ tele 西瓜 提及的
 
 
 
-分析如下K线图 
-
-H85LQHRfCti3Gz1qcPjKQWpKsJHci7d9dPekHxQBpump  垃圾盘 看看怎么拉的 怎么操盘的
-
-4SVc8kQ4SHCG3qyxy4h11aXWqo1YMLRQ3qaEbrBfpump 太奇怪了 怎么拉盘的
-
-
-
-有点希望第二轮的
-Aa9ijegUXidq7Fc8yuDY9h11DFJcwNqasyW1idy2pump
-2MH8ga3TuLvuvX2GUtVRS2BS8B9ujZo3bj5QeAkMpump
-Av7yy8h2Fe6PL94oubaL7S5u6nRbXjePtdDvRuLcpump
-uuUHtKq8a3mJDNdVzV33MDHKuSJLEUrM9gtLnhmpump
-7it6GdCAtstaySB466fpM7C8xm5rSUxomvNHggmFpump

BIN
src/library/analysis_token/new_token/Snipaste_2025-02-15_01-04-10.png


BIN
src/library/analysis_token/new_token/Snipaste_2025-02-15_01-04-20.png


BIN
src/library/analysis_token/new_token/Snipaste_2025-02-15_01-04-24.png


BIN
src/library/analysis_token/new_token/Snipaste_2025-02-15_22-23-26.png


BIN
src/library/analysis_token/new_token/Snipaste_2025-02-15_22-40-05.png


File diff suppressed because it is too large
+ 89 - 0
src/library/analysis_token/new_token/gmgn_token_filter.html


+ 45 - 0
src/library/analysis_token/new_token/new_token.md

@@ -0,0 +1,45 @@
+
+
+https://gmgn.ai/meme/9Z7Wz20p?chain=sol
+
+
+
+
+https://gmgn.ai/sol/token/7it6GdCAtstaySB466fpM7C8xm5rSUxomvNHggmFpump
+https://gmgn.ai/sol/token/AGCRePFi43EJ634Bug4GKP9Cek82Z3oN2dpa1K3Rpump
+
+ 
+
+https://gmgn.ai/sol/token/HBXhB2wTn8dSJve5hrB4kxq22aBULQi2UXt5DBSQpump
+
+https://gmgn.ai/sol/token/Aa9ijegUXidq7Fc8yuDY9h11DFJcwNqasyW1idy2pump
+https://gmgn.ai/sol/token/BDgmVaMe4VD9Tru8GamqdNDGjjLTkkUd5fUfLHk8pump 有可能
+https://gmgn.ai/sol/token/8jbnAWK4K2ECBL3NcYuSF1DQkHjnbmq5FxUbDvDMpump  有可能
+https://gmgn.ai/sol/token/4VLuD1P5tg5WetYPti5o6H4xh2bD19a6By4CVRiQpump
+https://gmgn.ai/sol/token/uuUHtKq8a3mJDNdVzV33MDHKuSJLEUrM9gtLnhmpump
+https://gmgn.ai/sol/token/F8HJqR5DzGat4XbypvNZXCSyapmrdzYybHp6F6nEpump 
+
+
+
+
+
+
+https://gmgn.ai/sol/token/fKYPmuCcuTeX1rCaidV4NVRKm88EVktDYG6h8Jjpump
+https://gmgn.ai/sol/token/5NMjx99ePzZ67SWRknzraMwq5BdxqxVLgvTBT8srpump
+https://gmgn.ai/sol/token/DFhp6s9j2vxf2fbCsAWsgmNPfALhCLLmaxsems2Ypump
+https://gmgn.ai/sol/token/9DpLo1VhW4QfqU3j5tQt4cEg5od88hDvE4nPJmNcpump
+https://gmgn.ai/sol/token/HwXyxgmHjxfxA1c75RYBf2LgGd6mxeac3wSS49m2hFvh
+https://gmgn.ai/sol/token/HH2cbmLBpYCGFdmEu6BF9iMVXZpArZHbmXQmZ5Gppump
+https://gmgn.ai/sol/token/cpy97eXSADBQQWNsRpypiNLZ6jSbaqozEkWsMtdpump
+https://gmgn.ai/sol/token/AzbrEZFrJ6tw3YV3KTpXLxC8StLf3ceWpyW2SuZWpump
+https://gmgn.ai/sol/token/6bKaYJSVVXGc4sr4jxj79aDsf1VRA5AokSRsEYDHpump
+https://gmgn.ai/sol/token/FThQ7urL2GwEWFjH7bJMiT1RZGgYdSxPbVyTgSJJpump
+https://gmgn.ai/sol/token/GnDfrXWPs71J73CrfrNsuwPrR15Fu7oZfNxYRhHWpump 
+
+
+
+
+
+
+
+ 

+ 19 - 1
src/library/analysis_token/笔记.md

@@ -78,4 +78,22 @@ b--c的持仓变化更像是做验证,用来分析已有第二轮高点的toke
 
 2025.2.5
 刚进入低点的top holder h1 低点时间一半的topholder h2 拉升前的top holder h3
-只针对这三个h1-h3 的各个时间的holder 变化以及swap 和transfer
+只针对这三个h1-h3 的各个时间的holder 变化以及swap 和transfer
+
+
+
+
+分析如下K线图 
+
+H85LQHRfCti3Gz1qcPjKQWpKsJHci7d9dPekHxQBpump  垃圾盘 看看怎么拉的 怎么操盘的
+
+4SVc8kQ4SHCG3qyxy4h11aXWqo1YMLRQ3qaEbrBfpump 太奇怪了 怎么拉盘的
+
+
+
+有点希望第二轮的
+Aa9ijegUXidq7Fc8yuDY9h11DFJcwNqasyW1idy2pump
+2MH8ga3TuLvuvX2GUtVRS2BS8B9ujZo3bj5QeAkMpump
+Av7yy8h2Fe6PL94oubaL7S5u6nRbXjePtdDvRuLcpump
+uuUHtKq8a3mJDNdVzV33MDHKuSJLEUrM9gtLnhmpump
+7it6GdCAtstaySB466fpM7C8xm5rSUxomvNHggmFpump

Some files were not shown because too many files changed in this diff