Tap Swap Bot, is Tap game on Telegram.
- Auto tap
- Auto Use Booster (energy, turbo)
- Auto Complete Daily missions (DISABLED)
- Git
- Chrome Browsers
- Node JS
- TELEGRAM_APP_ID & TELEGRAM_APP_HASH Get it from Here
- Tap Swap Account , Create Here ,join and claim join reward.
- clone project repo
git clone https://github.com/Widiskel/tapswap-bot.git
and cd to project dircd tapswap-bot
- run
npm install
- run
npm i [email protected]
- run
cp src/config/config_tmp.js src/config/config.js
To configure the app, opensrc/config.js
and add your telegram app id and hash there.
export class Config {
static TELEGRAM_APP_ID = undefined; // YOUR APP ID
static TELEGRAM_APP_HASH = undefined; // YOUR APP HASH
}
- run
mkdir sessions
- to start the app run
npm run start
- run
sudo apt-get install chromium-browser
- run
sudo apt-get install libx11-xcb1 libxcomposite1 libasound2 libatk1.0-0 libatk-bridge2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6
- run bot
npm run start
- choose option 1 create session
- enter session name
- enter your phone number starting with countrycode ex :
+628xxxxxxxx
- after creating sessions, choose 3 start bot, sometimes error happen when run bot afer creating session , just
ctrl+c
twice andnpm run start
again - if something wrong with your sessions, reset sessions first, to cancel running bot press
ctrl+c
twice, and start again from No 1.. Remember reset session will delete all you sessions, you can also delete only the trouble sessions byrm -rf sessions/YOURTROUBLESESSION
after that start to recreate sessions again
This bot using telegram sessions. if you ever use one of my bot that use telegram sessions, you can just copy the sessions folder to this bot. Also for the telegram APP ID and Hash you can use it on another bot.
MISSION Auto Completion is now disabled due to take to much time and don't have data
The missions is using my missions enums, that file that contains missions id an answer.
export const MISSIONS = {
M1016: "5SP670KR66",
M2012: "infinite",
M1015: "D5784VHPC377",
M2013: "parachain",
getInput: function (value) {
for (const key in this) {
if (this.hasOwnProperty(key) && this[key] === value) {
return key;
} else {
return undefined;
}
}
return undefined;
},
};
you can see currently im just have few data about it. you can contribute by forking this repo and add a Pull Request to add more missions and answer. How you can know the missions id ?
- Run bot with your sessions
- On run there will be a link you can open, to open tapswap on browser. after you got that link, just stop the bot
- When opening the link you will face a page with ("PLAY ON MOBILE") label. to by pass it follow bellow step
- Download this extension Request Interceptor
- Import this rule to the Request Interceptor MY RULE
- After that save rule and enable it, and refresh the tapswap tab on your browser.
- Now you can open tapswap on your browser, just do inspect element and go to network tab, now you can see all request. just find what your looking for misisons id and add the answer and missions id to the bot enums/missions.js.
Feel free to fork and contribute adding more feature thanks.
want to support me for creating another bot ? star my repo or buy me a coffee on
EVM : 0x0fd08d2d42ff086bf8c6d057d02d802bf217559a
SOLANA : 3tE3Hs7P2wuRyVxyMD7JSf8JTAmEekdNsQWqAnayE1CN