Giter Club home page Giter Club logo

intervention's Introduction

Starknet Sniper Bot

Description

Intervention is a command-line tool designed to automate the process of monitoring and trading tokens on the Starknet blockchain. It allows users to specify a token address and monitor events for liquidity. When liquidity is detected, the bot can automatically execute a trade.

Features

  • Monitor Starknet for specified token liquidity.
  • Automate token buying process upon liquidity detection.
  • Support for both mainnet and Goerli testnet.
  • Ability to directly buy a token without monitoring the pool.

Prerequisites

  • Node.js and npm installed.
  • Starknet accounts and private keys set up for trading.
  • Familiarity with command-line tools and TypeScript.

Installation

  1. Clone the repository:
    git clone https://github.com/0xEniotna/Intervention.git
  2. Navigate to the project directory:
    cd starknet-sniper-bot
  3. Install the required dependencies:
    yarn

Configuration

Create a .env file in the root of your project and populate it with the following environment variables:

STARKNET_API_ENDPOINT=[Your Starknet API endpoint] (RPC)
TESTNET_GOERLI_ENDPOINT=[Your Goerli testnet endpoint]
PRIVATE_KEY=[Your private key]
ACCOUNT_ADDRESS=[Your Starknet account address]

Usage

Run the bot with the following command:

yarn snipe --network <network> --token <token address> --amount <amount in ETH>

Options:

  • -n, --network <string>: Specify the network to use (e.g., mainnet, goerli).
  • -t, --token <address>: Specify the token address to snipe.
  • -a, --amount <number>: Specify the amount of ETH to spend.
  • -b, --buy: (Optional) Buy the token directly instead of monitoring the pool.

Example:

yarn snipe -n mainnet -t 0x1234... -a 0.1

License

This project is licensed under the MIT License - see the LICENSE file for details.

intervention's People

Contributors

0xeniotna avatar

Stargazers

Alex avatar Damián Piñones avatar  avatar

Watchers

 avatar

Forkers

ewuly

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.