# Verification Tools
鉴定是否是骗局的工具:
- 社媒打分:tweetscout.io
# Airdrop
# 重点项目
# Free NFT Claim
BERA FAUCET x BRICKS MINT (opens new window)
# DEPIN - Decentralized Physical Infrastructure Networks
DePIN are blockchain protocols that bring decentralized communities together to create and maintain physical infrastructure.
Participants who contribute their resources receive rewards in tokens, thereby incentivizing network growth.
The DePIN sector has several unique advantages:
- Global availability and low barrier to entry.
- Decentralized infrastructure management.
- Economic incentives for participants: Active participants are rewarded, motivating them to invest more resources and effort into the network’s development.
# Copy Trade 跟买技巧
# GMGN AI
电报入口 (opens new window) 官网入口 (opens new window)
(1)收集大流量的KOLs钱包,他们的钱包常常是最容易被发现的,而且流量就是最大金钱,任何永远流量的Kol一定是在市场上有自己的长处的,我们使用GMGN就可以直接在左上角的探索页面—KOL\VC 这里去寻找我们需要的Kol钱包了,这也是GMGN最强的地方,钱包与数据收集,那比如你收集到了我的钱包,这就是属于你自己认知的数据库了,因为你已经在寻找的过程中看到了,这个Kol地址的盈利与大概操作等等,这才是属于你真正的认知,而不知识冰冷的地址,我也会在推文底部分享几个我认为很好的Kol钱包,附带我的认知,新人有需要可以自取,并进行练习。(2)建立当下活跃的聪明钱信息库,方法也很简单,请把每日金狗的前20盈利的钱包,分析并且筛选出是最近赚钱最猛的,且不是新钱包的聪明钱,做好监控,我们可以直接在GMGN交易界面里点击 持有者—总利润\从高排序 比如:某A钱包最近大仓位的交易都是赚钱的,我们可以标记为“11月大仓位高胜率”,大家可以通过列子进行举一反三,一旦你做好了以上这2点,恭喜你,你现在可以称自己为加密猎人了!!!
# 地址搜集
地址分享 Cooker(母语英文,在国外大叙事上他的反应是最快的,所以ai行情龙头几乎都吃到了,同时也是顶级的交易者,列为重点关注地址):8deJ9xeUvXSJwicYptA9mHsU2rN2pDx37KWzkDkEXhU6 鸡块(经常内盘高胜率,但是全是阴谋,列为参考地址):8MaVa9kdt3NW4Q5HyNAm1X5LbR8PQRVDc1W8NMVK88D5 扫链哥(打新选标频繁,作为新狗筛选器):73LnJ7G9ffBDjEBGgJDdgvLUhD5APLonKrNiHsKDCw5B
# 自动化脚本
# Telegram minigame->Hamster Kombat(done)
手机检测: web.telegram => UI显示 Play on your mobile => source js: ["android", "android_x", "ios"].indexOf((Kt = (Jt = window
绕过: chrome extension: Resource Override => Add Rule->Select Inject File->Edit File, then paste the code:
if (location.hostname === "hamsterkombatgame.io") {
const original_indexOf = Array.prototype.indexOf;
Array.prototype.indexOf = function(...args) {
if (JSON.stringify(this) === JSON.stringify(["android", "android_x", "ios"])) {
setTimeout(() => {
Array.prototype.indexOf = original_indexOf;
});
return 0;
}
return original_indexOf.apply(this, args);
}
}
login Telegram Web, go to Hamster Kombat https://t.me/haMster_kombat_bot/start?startapp=kentId7352585642, start the game, open devleoper tool, go to Console tab, select clicker(hamsterkombatgame.io) and then paste the code:
(function() {
const evt1 = new PointerEvent('pointerdown', {
clientX: 150,
clientY: 300
});
const evt2 = new PointerEvent('pointerup', {
clientX: 150,
clientY: 300
});
setInterval((function fn() {
const energy = parseInt(document.getElementsByClassName("user-tap-energy")[0].getElementsByTagName("p")[0].textContent.split(" / ")[0]);
if (energy > 25) {
document.getElementsByClassName('user-tap-button')[0].dispatchEvent(evt1);
document.getElementsByClassName('user-tap-button')[0].dispatchEvent(evt2);
}
return fn;
})(), 300);
})();
# Telegram minigame->Blumbot
Blumbot 入口链接 (opens new window)
# 猴子脚本
fix "refused connection" install Ignore X-Frame headers https://chromewebstore.google.com/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe
Violentmonkey https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag
// ==UserScript==
// @name BlumBot
// @version 2.2
// @namespace Violentmonkey Scripts
// @match https://telegram.blum.codes/*
// @grant none
// @icon https://cdn.prod.website-files.com/65b6a1a4a0e2af577bccce96/65ba99c1616e21b24009b86c_blum-256.png
// ==/UserScript==
let GAME_SETTINGS = {
minBombHits: Math.floor(Math.random() * 2),
minIceHits: Math.floor(Math.random() * 2) + 2,
flowerSkipPercentage: Math.floor(Math.random() * 11) + 15,
minDelayMs: 2000,
maxDelayMs: 5000,
autoClickPlay: false
};
let isGamePaused = false;
try {
let gameStats = {
score: 0,
bombHits: 0,
iceHits: 0,
flowersSkipped: 0,
isGameOver: false,
};
const originalPush = Array.prototype.push;
Array.prototype.push = function (...items) {
if (!isGamePaused) {
items.forEach(item => handleGameElement(item));
}
return originalPush.apply(this, items);
};
function handleGameElement(element) {
if (!element || !element.item) return;
const { type } = element.item;
switch (type) {
case "CLOVER":
processFlower(element);
break;
case "BOMB":
processBomb(element);
break;
case "FREEZE":
processIce(element);
break;
}
}
function processFlower(element) {
const shouldSkip = Math.random() < (GAME_SETTINGS.flowerSkipPercentage / 100);
if (shouldSkip) {
gameStats.flowersSkipped++;
} else {
gameStats.score++;
clickElement(element);
}
}
function processBomb(element) {
if (gameStats.bombHits < GAME_SETTINGS.minBombHits) {
gameStats.score = 0;
clickElement(element);
gameStats.bombHits++;
}
}
function processIce(element) {
if (gameStats.iceHits < GAME_SETTINGS.minIceHits) {
clickElement(element);
gameStats.iceHits++;
}
}
function clickElement(element) {
element.onClick(element);
element.isExplosion = true;
element.addedAt = performance.now();
}
function checkGameCompletion() {
const rewardElement = document.querySelector('#app > div > div > div.content > div.reward');
if (rewardElement && !gameStats.isGameOver) {
gameStats.isGameOver = true;
resetGameStats();
}
}
function resetGameStats() {
gameStats = {
score: 0,
bombHits: 0,
iceHits: 0,
flowersSkipped: 0,
isGameOver: false,
};
}
function getNewGameDelay() {
return Math.floor(Math.random() * (GAME_SETTINGS.maxDelayMs - GAME_SETTINGS.minDelayMs + 1) + GAME_SETTINGS.minDelayMs);
}
function checkAndClickPlayButton() {
const playButtons = document.querySelectorAll('button.kit-button.is-large.is-primary, a.play-btn[href="/game"], button.kit-button.is-large.is-primary');
playButtons.forEach(button => {
if (!isGamePaused && GAME_SETTINGS.autoClickPlay && (/Play/.test(button.textContent) || /Continue/.test(button.textContent))) {
setTimeout(() => {
button.click();
gameStats.isGameOver = false;
}, getNewGameDelay());
}
});
}
function continuousPlayButtonCheck() {
checkAndClickPlayButton();
setTimeout(continuousPlayButtonCheck, 1000);
}
const observer = new MutationObserver(mutations => {
for (const mutation of mutations) {
if (mutation.type === 'childList') {
checkGameCompletion();
}
}
});
const appElement = document.querySelector('#app');
if (appElement) {
observer.observe(appElement, { childList: true, subtree: true });
}
continuousPlayButtonCheck();
const settingsMenu = document.createElement('div');
settingsMenu.className = 'settings-menu';
settingsMenu.style.display = 'none';
const menuTitle = document.createElement('h3');
menuTitle.className = 'settings-title';
menuTitle.textContent = 'BlumBot by @DefiWimar';
const closeButton = document.createElement('button');
closeButton.className = 'settings-close-button';
closeButton.textContent = '×';
closeButton.onclick = () => {
settingsMenu.style.display = 'none';
};
menuTitle.appendChild(closeButton);
settingsMenu.appendChild(menuTitle);
function updateSettingsMenu() {
document.getElementById('flowerSkipPercentage').value = GAME_SETTINGS.flowerSkipPercentage;
document.getElementById('flowerSkipPercentageDisplay').textContent = GAME_SETTINGS.flowerSkipPercentage;
document.getElementById('minIceHits').value = GAME_SETTINGS.minIceHits;
document.getElementById('minIceHitsDisplay').textContent = GAME_SETTINGS.minIceHits;
document.getElementById('minBombHits').value = GAME_SETTINGS.minBombHits;
document.getElementById('minBombHitsDisplay').textContent = GAME_SETTINGS.minBombHits;
document.getElementById('minDelayMs').value = GAME_SETTINGS.minDelayMs;
document.getElementById('minDelayMsDisplay').textContent = GAME_SETTINGS.minDelayMs;
document.getElementById('maxDelayMs').value = GAME_SETTINGS.maxDelayMs;
document.getElementById('maxDelayMsDisplay').textContent = GAME_SETTINGS.maxDelayMs;
document.getElementById('autoClickPlay').checked = GAME_SETTINGS.autoClickPlay;
}
settingsMenu.appendChild(createSettingElement('Flower Skip (%)', 'flowerSkipPercentage', 'range', 0, 100, 1, ''));
settingsMenu.appendChild(createSettingElement('Min Freeze Hits', 'minIceHits', 'range', 1, 10, 1, ''));
settingsMenu.appendChild(createSettingElement('Min Bomb Hits', 'minBombHits', 'range', 0, 10, 1, ''));
settingsMenu.appendChild(createSettingElement('Min Delay (ms)', 'minDelayMs', 'range', 10, 10000, 10, ''));
settingsMenu.appendChild(createSettingElement('Max Delay (ms)', 'maxDelayMs', 'range', 10, 10000, 10, ''));
settingsMenu.appendChild(createSettingElement('Auto Click Play', 'autoClickPlay', 'checkbox', null, null, null, ''));
const pauseResumeButton = document.createElement('button');
pauseResumeButton.textContent = 'Pause';
pauseResumeButton.className = 'pause-resume-btn';
pauseResumeButton.onclick = toggleGamePause;
settingsMenu.appendChild(pauseResumeButton);
document.body.appendChild(settingsMenu);
const settingsButton = document.createElement('button');
settingsButton.className = 'settings-button';
settingsButton.textContent = '⚙️';
settingsButton.onclick = () => {
settingsMenu.style.display = settingsMenu.style.display === 'block' ? 'none' : 'block';
};
document.body.appendChild(settingsButton);
const style = document.createElement('style');
style.textContent = `
.settings-menu {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(40, 44, 52, 0.95);
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
color: #abb2bf;
font-family: 'Arial', sans-serif;
z-index: 10000;
padding: 20px;
width: 300px;
}
.settings-title {
color: #61afef;
font-size: 18px;
font-weight: bold;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: space-between;
}
.settings-close-button {
background: none;
border: none;
color: #e06c75;
font-size: 20px;
cursor: pointer;
padding: 0;
}
.setting-item {
margin-bottom: 12px;
}
.setting-label {
display: flex;
align-items: center;
margin-bottom: 4px;
}
.setting-label-text {
color: #e5c07b;
margin-right: 5px;
}
.setting-input {
display: flex;
align-items: center;
}
.setting-slider {
flex-grow: 1;
margin-right: 8px;
}
.setting-value {
min-width: 30px;
text-align: right;
font-size: 11px;
}
.pause-resume-btn {
display: block;
width: calc(100% - 10px);
padding: 8px;
margin: 15px 5px;
background-color: #98c379;
color: #282c34;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
font-size: 14px;
transition: background-color 0.3s;
}
.pause-resume-btn:hover {
background-color: #7cb668;
}
.social-buttons {
margin-top: 15px;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.social-button {
display: inline-flex;
align-items: center;
padding: 5px 8px;
margin: 2px;
border-radius: 4px;
background-color: #282c34;
color: #abb2bf;
text-decoration: none;
font-size: 12px;
transition: background-color 0.3s;
flex: 1 1 auto;
min-width: 100px;
max-width: 150px;
box-sizing: border-box;
}
.social-button:hover {
background-color: #4b5263;
}
.social-button img {
width: 16px;
height: 16px;
margin-right: 5px;
}
.settings-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: rgba(36, 146, 255, 0.8);
color: #fff;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
font-size: 18px;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
z-index: 9999;
}
`;
document.head.appendChild(style);
function createSettingElement(label, id, type, min, max, step, tooltipText) {
const container = document.createElement('div');
container.className = 'setting-item';
const labelContainer = document.createElement('div');
labelContainer.className = 'setting-label';
const labelElement = document.createElement('span');
labelElement.className = 'setting-label-text';
labelElement.textContent = label;
labelContainer.appendChild(labelElement);
const inputContainer = document.createElement('div');
inputContainer.className = 'setting-input';
let input;
if (type === 'checkbox') {
input = document.createElement('input');
input.type = 'checkbox';
input.id = id;
input.checked = GAME_SETTINGS[id];
input.addEventListener('change', (e) => {
GAME_SETTINGS[id] = e.target.checked;
saveSettings();
});
inputContainer.appendChild(input);
} else {
input = document.createElement('input');
input.type = type;
input.id = id;
input.min = min;
input.max = max;
input.step = step;
input.value = GAME_SETTINGS[id];
input.className = 'setting-slider';
const valueDisplay = document.createElement('span');
valueDisplay.id = `${id}Display`;
valueDisplay.textContent = GAME_SETTINGS[id];
valueDisplay.className = 'setting-value';
input.addEventListener('input', (e) => {
GAME_SETTINGS[id] = parseFloat(e.target.value);
valueDisplay.textContent = e.target.value;
saveSettings();
});
inputContainer.appendChild(input);
inputContainer.appendChild(valueDisplay);
}
container.appendChild(labelContainer);
container.appendChild(inputContainer);
return container;
}
function saveSettings() {
localStorage.setItem('BlumAutoclickerSettings', JSON.stringify(GAME_SETTINGS));
}
function loadSettings() {
const savedSettings = localStorage.getItem('BlumAutoclickerSettings');
if (savedSettings) {
const parsedSettings = JSON.parse(savedSettings);
GAME_SETTINGS = {
...GAME_SETTINGS,
...parsedSettings
};
}
}
loadSettings();
updateSettingsMenu();
function toggleGamePause() {
isGamePaused = !isGamePaused;
pauseResumeButton.textContent = isGamePaused ? 'Resume' : 'Pause';
pauseResumeButton.style.backgroundColor = isGamePaused ? '#e5c07b' : '#98c379';
}
} catch (e) {
console.error("Blum Autoclicker error:", e);
}
升级代码
1). re-launch the app every 8 hours(window reload) and click on the "Claim" button with class "kit-button is-large is-primary is-fill button" and it has a child span with text "Claim"
// Reload the window every 8 hours
setInterval(() => {
window.location.reload();
}, 8 * 60 * 60 * 1000); // 8 hours in milliseconds
// After the page reloads, try to find and click the "Claim" button
function checkAndClickClaimButton() {
const claimButtons = document.querySelectorAll('button.kit-button.is-large.is-drop.is-fill.button.is-done');
Array.from(claimButtons).forEach(button => {
// Find all descendant div elements inside the button
const divs = Array.from(button.getElementsByTagName('div'));
// Loop through divs to find the one with the text "Claim"
divs.forEach(div => {
if (div.textContent.trim() === 'Claim') {
setTimeout(() => {
button.click(); // Click the button if the "Claim" div is found
}, getNewGameDelay()); // Adjust delay function as needed
}
});
});
}
// Add event listener to run the claim check when the page loads
window.addEventListener('load', () => {
checkAndClickClaimButton();
});
2). click the button with class "kit-button is-large is-primary is-fill button" and it has a child span with text "Start farming" when the playButtons empty
function checkAndClickPlayButton() {
const resetButton=document.getElementsByClassName("reset");
if(resetButton){
resetButton[0].click();
}
const playButtons = document.querySelectorAll('button.kit-button.is-large.is-primary, a.play-btn[href="/game"], button.kit-button.is-large.is-primary');
playButtons.forEach(button => {
if (!isGamePaused && GAME_SETTINGS.autoClickPlay && (/Play/.test(button.textContent) || /Continue/.test(button.textContent))) {
setTimeout(() => {
button.click();
gameStats.isGameOver = false;
}, getNewGameDelay());
}else if(/Start farming/.test(button.textContent)){
setTimeout(() => {
button.click();
gameStats.isGameOver = false;
}, getNewGameDelay());
}else if(/Continue/.test(button.textContent)){
setTimeout(() => {
button.click();
gameStats.isGameOver = false;
}, getNewGameDelay());
}
});
checkAndClickClaimButton();
}
- Open BlumBot in the browser make sure the Violentmonkey enabled the scripts, reload Blumbot if necessary until you see a gadget setting symbol over the game
# 简单js
chrome developer tool-> network -> 找到 balance请求,保存Auth Token/Bearer token
Open "Console" Tab ✓ Enter following code:
const play = 5
const authen = "YOUR_TOKEN"
clear()
async function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function playAndClaimGame() {
for (let i = 0; i < play; i++) {
console.log(` - ${i}. Start Play game..`)
const _points = Math.floor(Math.random() * (120 -80 + 1)) + 110;
const headers = {
'accept': 'application/json, text/plain, */*',
'accept-language': 'en-US,en;q=0.9',
'authorization': authen,
'origin': 'https://telegram.blum.codes',
'priority': 'u=1, i',
'sec-ch-ua': '"Chromium";v="128", "Not;A=Brand";v="24", "Microsoft Edge";v="128", "Microsoft Edge WebView2";v="128"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0'
}
delete headers["content-type"]
const response = await fetch('https://game-domain.blum.codes/api/v1/game/play', {
method: 'POST',
headers: headers,
});
const responseData = await response.json();
const gameid = responseData.gameId;
console.log(` - GameId: ${gameid}`)
const _sleep = Math.floor(Math.random() * 11 + 50) * 1000
console.log(` - sleep: ${_sleep/1000}s`)
await sleep(_sleep)
headers["content-type"] = 'application/json'
delete headers["content-length"]
const claim = await fetch('https://game-domain.blum.codes/api/v1/game/claim', {
method: 'POST',
headers: headers,
body: JSON.stringify({
'gameId': gameid,
'points': _points
})
});
const claimText = await claim.text();
console.log(` - Play status: ${claimText}. Points: ${_points}`)
const _sleep2 = Math.floor(Math.random() * 6 + 15) * 1000
console.log(` - sleep: ${_sleep2/1000}s`)
await sleep(_sleep2);
}
console.log(" - [ DONE ALL ] ")
}
(async () => {
await playAndClaimGame();
})();
# 其他方法,通过gpt prompt:
Create a bot to play BlumCryptoBot, a Telegram mini-game
When the Bot open the app, it click on the Play button. Then we will only click on the green snowflakes until the timer on the top left expires.
Improve the code, when 5 mini games are completed, the bot will click on the "Start Farming" button on the homepage. After that, the bot should re-launch the app every 8 hours and click on the "Claim" button, re-click on "Start Farming" and repeat these actions
Add anti-detection measures for this bot and security
Add to the code the ability to perform all these actions from multitude of telegram accounts
How do l run a bot if i don't understand programming, tell me a step by step guide how do i run this bot
# Telegram minigame->Not Pixel
Not Pixel 入口链接 (opens new window)
Violentmonkey脚本 (opens new window)
location.reload 重启有问题,增加自动启动脚本 telegram_minigame_autostart (opens new window)
# Telegram minigame->Bybit Coinsweeper
Bybit Coinsweeper 入口链接 (opens new window)
脚本 https://api.pastes.dev/ZcHOhADQy9
# Telegram minigame->Clayton
Clayton入口链接 (opens new window)
Resource Override 规则:url-url
https://tonclayton.fun/assets/index-CM8DCHvL.js - https://api.pastes.dev/5imvKtcxhb
猴子脚本 https://api.pastes.dev/lLE804hn10
# Telegram minigame->Binance Moonbix
最早有人找到漏洞:https://pastebin.com/rHJvz2uw
import requests
import pyautogui
import random
import time
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
# Auth Token and Proxy setup
AUTH_TOKEN = "your_auth_token_here" # Replace with your actual auth token
PROXY = {
'http': 'http://your_proxy:port', # Replace with your proxy details
'https': 'https://your_proxy:port'
}
# Headers for authorization
HEADERS = {
'Authorization': f'Bearer {AUTH_TOKEN}',
'Content-Type': 'application/json'
}
# Configure retries for network issues
retry_strategy = Retry(
total=3, # Number of retries
status_forcelist=[429, 500, 502, 503, 504],
method_whitelist=["HEAD", "GET", "OPTIONS"]
)
adapter = HTTPAdapter(max_retries=retry_strategy)
http = requests.Session()
http.mount("https://", adapter)
http.mount("http://", adapter)
# Function to get game data using API with Auth Token and Proxy
def get_game_data():
url = "https://moonbixapi.com/game_data" # Example API endpoint for game data
try:
# Send a GET request with Auth Token and Proxy
response = http.get(url, headers=HEADERS, proxies=PROXY)
# Raise an error for bad responses (like 401 Unauthorized)
response.raise_for_status()
# Process the JSON response
game_data = response.json()
return game_data
except requests.exceptions.RequestException as e:
print(f"Error fetching game data: {e}")
return None
# Adjust click coordinates with random offsets
def click_object_randomized(object_location):
if object_location:
# Get the center of the object
x, y = pyautogui.center(object_location)
# Add a small random offset to simulate natural movement
offset_x = random.randint(-5, 5) # Random offset between -5 to +5 pixels
offset_y = random.randint(-5, 5)
# Click with the randomized offset
pyautogui.click(x + offset_x, y + offset_y)
# Main function to collect boxes and coins with randomization
def collect_boxes_and_coins_via_api_randomized():
while True:
# Randomize how many items to collect in this cycle
points_to_collect = random.randint(5, 10) # Collect between 5 and 10 items per cycle
collected_points = 0
# Fetch game data from API
game_data = get_game_data()
if game_data:
# Loop through game items (boxes and coins)
for item in game_data['items']:
if item['type'] == 'box' or item['type'] == 'coin':
x, y = item['x'], item['y']
# Randomized click location
offset_x = random.randint(-5, 5)
offset_y = random.randint(-5, 5)
pyautogui.click(x + offset_x, y + offset_y)
# Increment collected points
collected_points += 1
# Break once we've collected the random number of points
if collected_points >= points_to_collect:
break
# Randomized sleep between collection cycles to simulate human behavior
sleep_time = random.uniform(1.5, 3.0) # Sleep between 1.5 to 3 seconds
time.sleep(sleep_time)
# Start collecting boxes and coins
collect_boxes_and_coins_via_api_randomized()
binance风控后:
promot: envision yourself as a seasoned programmer with a decade of experience, Develop a bot designed to engage with the Moonbix mini-app, a Telegram mini-game
promot: When the Bot open the app, it click on the "Play Game" button, after that the screen will show another button "Play Again(Left x)", x means how many times left, note there is a emoj between Left and x, click on the button if left more than 0 times, when the game start, capture all the Boxes And Coins within the game.
gpt implement it using selenium
promot:
your implementation using selenium won't work because moonbix blocking access from telegram web, now we can only play it using desktop, so we have no idea of the elements, change to use pyautogui lib to implement
promot:
seems you misundertood the game play sequence, please update it according to this: first the bot will click on "play" button to start play the games, then the game start it will capture_items, after that the game end, then it will click on "play again", then the game will start over again, the maixum play is 5 times
Summary of Key Steps: Find Coordinates: Use pyautogui.position() to get the exact screen coordinates for the "Play Game" and "Play Again" buttons. Image Recognition: Save images of boxes and coins and use pyautogui.locateCenterOnScreen() to detect and click them. Automation Loop: Continuously loop to click buttons and capture items
promot: what do you mean by Find Coordinates Use pyautogui.position(), i don't see it in the code, and for Image Recognition,do you mean I have to Save images of boxes and coins manually? what else should I do or How do l run a bot or fine-tune it step by step
telegram minigame_moonbix.py (opens new window)
How to Find Coordinates,Run this simple Python script to display the current mouse position in real-time, Move your mouse over the desired location (like the "Play Game" button), and note down the coordinates printed in the terminal.Once you have the coordinates, you can use them in your bot for clicking:
- METHOD 1:
import pyautogui pyautogui.mouseInfo()
- METHOD 2:
import pyautogui import time # Continuously print the current mouse position every second while True: x, y = pyautogui.position() print(f"Mouse position: {x}, {y}") time.sleep(1)
for image recognition, you need to manually capture images (screenshots) of the objects you want the bot to interact with—like the boxes and coins.
RUN BOT:
pip install pyautogui
pip install pillow
more promot: Add anti-detection measures for this bot and security
现在又加上了验证码,所以不再可行
# 更多
# Memecoin Sniper
- build a sniper bot Write a python script to snipe memecoin launches on the Solana network for building a sniper bot
- analyze the coin Upgrade this code to verify the token contract via rugcheck.xyz and analyze the coin before buying,based on this analysis, the bot will determine if it's a rug pull
some other metrics/criteria:
- FDV
- liquidity
- Volume
- social metrics
- number of holders
- number of tokens launched by the dev
- set buy/sell conditions
Define the "Slippage" and "Price Impact" parameters in the code, recommended settings:
- Max Slippage: 5-10%
- Max Price Impact: 5%
set by/sell conditions and set max slippage at 5-10% and max price impact at 5%
- Improve your bot adapt to your needs
for example: add standard buy/sell amounts to perform these actions even faster