Giter Club home page Giter Club logo

tapswap-clicker-v2.0's Introduction

GitHub Twitter LinkedIn

TapSwap πŸ—²Auto Clicker V2.0

Welcome to the TapSwap πŸ—² Auto Clicker repository. This script automates the clicking process in the TapSwap game, allowing you to maximize your earnings by running continuously 24/7. Unlike the manual tapping required in the game, this script ensures every second is utilized efficiently.

Functionality Notice

Boost Functionality Maintenance: The functionality for sending boosts (energy and turbo) is currently under maintenance. We are actively working to resolve this issue. Please note that during this period, boost activation may not work as intended.

Features

  • Automates the tap-to-earn process in the TapSwap game.
  • Periodic Taps Sending: Sends taps to the server at regular intervals.
  • Boost Application: Periodically applies boosts to increase the number of taps for a short duration.
  • Runs continuously 24/7 to maximize earnings.
  • Configurable click intervals
  • Runs only 1 Accounts

Prerequisites

  • Node.js
  • npm (Node Package Manager)
  • Telegram(Android
  • Render Render Account : To deploy and run this code 24/7 without consuming your power and internet connection, you will need a Render account.
  • Cron-job.org Account : To run cron job on your server so that it does not go inactive.

Installation

  1. Clone the repository:

    git clone https://github.com/WackyDawg/Tapswap-Clicker-v2.0.git
    cd Tapswap-Clicker-v2.0
  2. Install the required packages:

    npm install
  3. Create a .env file in the root directory and add the following content:

    PORT=3000
  4. Open Telegram on your Android device, navigate to the TapSwapBot, and click the "Start" button. Please note that this procedure is specifically for Android devices, as it does not work on iOS devices.1718667497477

  5. Turn off your mobile data or Wi-Fi connection. Next, click the three dots in the upper-right corner of the screen and select "Reload Page." Once the page reloads, copy the full URL that appears1716671344482

  6. Paste the copied URL into the Url field in the sorter.js file and run it using

    node sorter
    

    1718667709840

  7. You should get this response: "Details saved to credentials.json." Now go to the auth/credentials.json file that was just generated and use the details to set up credentials.js e.g.

    {
    

"query_id": "XYZ123ArAwAAAPcLYCtmJT0h", "user_id": 1234567890, "first_name": "John", "last_name": "Doe", "language_code": "en", "allows_write_to_pm": true, "auth_date": "1620000000", "hash": "abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890", "tgWebAppVersion": "7.4", "tgWebAppPlatform": "android", "tgWebAppThemeParams": { "bg_color": "#212d3b", "section_bg_color": "#1d2733", "secondary_bg_color": "#151e27", "text_color": "#ffffff", "hint_color": "#7d8b99", "link_color": "#5eabe1", "button_color": "#50a8eb", "button_text_color": "#ffffff", "header_bg_color": "#242d39", "accent_text_color": "#64b5ef", "section_header_text_color": "#79c4fc", "subtitle_text_color": "#7b8790", "destructive_text_color": "#ee686f" } }

8. Now go over to the `config/config.js` and configure  your settings for managing tap actions and cycles within the application below Below are the details of each property in the configuration:

const tapsConfig = { "coinsPerCycle": "22", // Coins earned per 2 taps "numberOfTaps": "2", // Number of taps to send in each cycle "cycleDuration": "5", // Duration (in seconds) within which the taps should be sent "boostInterval": 9600000, // Time interval (in milliseconds) between activating boosts "energyThreshold": 2000 // Energy limit, for example, 1000, 2000, or 2500 }

export default tapsConfig;

9. πŸŽ‰ Voila! Now you can run the script. πŸš€ Simply start up the script using `node server.js` so that we can restart the index every 30 minutes to get a new access token.

## Usage

## 1. Start the server:

```sh
node server.js  

1718668472874

  1. The frontend server will start running on http://localhost:3000. Note that this frontend was created so we could send ping request with our cron job1716672376303

Follow for More Amazing Projects

If you enjoyed this project and want to stay updated on more amazing projects, follow me on GitHub and Twitter. Your support means a lot and keeps me motivated to create more cool stuff! 🌟

tapswap-clicker-v2.0's People

Contributors

wackydawg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tapswap-clicker-v2.0's Issues

Error monitoring requests

Server is running on port 3980
==> | Successfully Generated | Content-Id: | 7429077680
Error monitoring requests: Error: Navigating frame was detached
at #onFrameDetached (file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:97:47)
at file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:36:7
at Array.map ()
at Object.emit (file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:35:20)
at CdpFrame.emit (file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:77:23)
at #removeFramesRecursively (file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:393:15)
at #onClientDisconnect (file:///E:/Programs/GIT/Tapswap-Clicker-v2.0/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:88:42)
Bot Server process exited with code 0

How to undo version 1?

I first installed version 1 because I couldn't see it was deprecated. I think it's working because the coin counter keeps going up by a few points every second and I don't notice that on other accounts where I have not installed this script. However it doesn't drain the energy limit and it stops mining coins when I drain the limit manually myself a little bit. Overall very sus, how do I undo it?

Can u make multi account version ?

ur code is amazing and work good with me, but only 1 thread can run. can u make it for multiper account version ? like it will get contentID and chr again every time POST request get more than 5 time error. sry my english not good

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.