Skip to content

ingredients77/coingecko-candy-claimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

coingecko-candy-claimer

This script auto claims coingecko candy according to the time interval you set.

Setup

  1. Login to your Coingecko.com account and make sure remember me is checked while doing so.

image

  1. After logging in, open the developer console by pressing F12 on your keyboard.

  2. Click the network tab and refresh the page by pressing F5 or by using your browser's refresh button. Make sure you don't close the developer console. Firefox was used in this demonstration. Chrome and other browsers can be used as well.

image

  1. After the page refreshes, scroll up the network tab and click the GET request to the domain wwww.coingecko.com for file /.

image

  1. A new section will be opened on the right with the headers tab already selected.

  2. Scroll down and look for the cookie under the request headers tab.

  3. Right click the cookies and click copy value. image

  4. Paste the copied cookies into the cookies.txt file and save it. Make sure you keep your cookies safe and secure. Any one with the cookies can access your account.

  5. Make sure you don't sign out of your coingecko account or it will render the cookies invalid. Close the window instead.

Running the script

  1. Clone the repo to your VPS with git clone https://github.com/ingredients77/coingecko-candy-claimer.

  2. Cd into coingecko-candy-claimer with cd coingecko-candy-claimer and edit the cookies.txt file by typing nano cookies.txt

  3. Paste the cookies and save it by pressing Ctrl + X, press Y and then Enter.

  4. Install the requirements using pip3 install -r requirements.txt or pip install -r requirements.txt

  5. Create a new tmux window with tmux new-session -s coingecko-candy. This will create a new tmux window that will allow the script to run in the background and prevent the script from getting interupted.

  6. Now type watch -n 22320 python3 geckocandy.py. This will run the script every 6 hours and claim your candy automatically every 6 hours. You can adjust the time to your liking.

image

  1. Press Ctrl + B and then D to detach from the tmux window. You can always go back to the window by typing tmux attach-session -s coingecko-candy.

  2. Alternative to step 5 and 6, you can use crontab to schedule the interval you want the script to run.

About

Automatically claims coingecko candy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages