Giter Site home page Giter Site logo

solana-raydium-sniping-bot's Introduction

Hey everyone,

I built a basic sniping bot for Raydium its libraries. Simply put, you fill the settings in bot.js and it buys the token for the amount you choose when it hits the swap.

What are the features?:

  • Buy early token gems with custom gas fee, slippage, amount. (DYOR)
  • Auto approve fees
  • Open source, with free node services (Literally don't have to pay anything to run this bot)

Working on:

  • Sell bought token with custom gas fee, slippage, amount.
  • Sell tokens with your custom increase in price, like 50%, 100%, 200%.

Demo how the code looks

HOW TO RUN

  1. clone this code or download as zip
  2. $ npm install (<---- write this after you open the folder in the terminal of your favorite code editor) , this will download all npm packages. If you dont have npm installed, install node (js enviroment) https://nodejs.org/en/download.
  3. Set the variables in "Variables" at the top of bot.js
  4. Input enough funds for fees and purchases into your wallet

Run with "node bot.js" command in the same terminal

Stop bot with Ctrl + C.

Successfull 1,000 USD snipe the other day :)

Successfull Snipe

TIPS AND TRICKS

  1. If you gettint error: throw new Error('Non-base' + BASE + ' character') ^ Error: Non-base58 character. Make sure you have provided correct private key in line 34.
  2. Have atleast few sonala's in funds, as you will need to get some fees, currencies and for the sniping itself. Also, to get everything working smooth as some tokens you will want to snipe have big slippage and if the transaction fails you still pay the gas so don't waste money
  3. Check new tokens on dextools
  4. DYOR on dextools and see if the token contract you are sniping doesn't have rug pulls included

WARNING This bot is free and I did it as a hobby project. Great starting place for new devs. DYOR.

TROUBLESHOOT If your transaction failed:

1)Your gas price is too small 2)Your slippage is too small (use 20+ for early token)

solana-raydium-sniping-bot's People

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.