Giter Club home page Giter Club logo

solana-auto-sell-bot's Introduction

Description

This script auto_sell.py continously scans a solana wallet for new tokens. Upon detection, it will cache this token along with a few details (token_address, balance, detection_time) in data\wallet_tokens.json. When the token is older than a certain time duration it will sell the token.

Configs/Parameters

  1. WALLET_ADDRESS - Wallet Address to be tracked (only one at a time)
  2. PRIVATE_KEY - Private Key for the wallet (to allow selling)
  3. SOLANA_RPC_URL - RPC URL / I used helius for development
  4. X_SECONDS - Amount in seconds between token detection and initiating the sell swap.

How to use

  1. Clone the repo by running: git clone [email protected]:lorenzourera/solana-auto-sell-bot.git
  2. Create a virtual environment (python -m venv venv), activate it (source venv/bin/activate) and install all dependencies found in requirements.txt (pip install -r requirements.txt)
  3. Create a new file in data/ called config.ini. The contents of this file should be identical to config_template.ini but with the values.
  4. Run the script: python auto_sell.py

Contacts

For business inquiries or custom scripts reach me on telegram at zo125

solana-auto-sell-bot's People

Contributors

lorenzourera avatar

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.