How to Create a Solana Trading Bot

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 72

  • @dyablohunter
    @dyablohunter 5 месяцев назад +112

    Make a video about a simple Buy and Sell. Buy a token with SOL, sell your token for SOL. Manually call the function. This is where people should start using Jupiter API and I don't see this video anywhere.

    • @sakariankoti100
      @sakariankoti100 5 месяцев назад +13

      I can help you build your bot bro

    • @prosperogbeta3878
      @prosperogbeta3878 3 месяца назад +12

      He’s here to learn not pay someone lol

    • @JosePereira-zz7gv
      @JosePereira-zz7gv Месяц назад

      😊pⁿ​@@prosperogbeta3878

    • @OsmachThmey-vx7rx
      @OsmachThmey-vx7rx Месяц назад +3

      😊😊

    • @QuickNode
      @QuickNode  Месяц назад +2

      - If you were looking for a simple swap example on Raydium DEX, this video should help: ruclips.net/video/4tCK3awn0Tc/видео.html
      - If you were looking for a swap example using Jupiter API, find JS, TS, Ruby, and Rust examples here in docs: www.quicknode.com/docs/solana/swap

  • @Crypto.Vantage
    @Crypto.Vantage 2 месяца назад +10

    00:04 Using Jupiter swap API to find best routes for token swaps.
    01:48 Setting up Solana trading bot
    03:42 Setting up the trading bot configuration
    05:28 Initializing variables and connections for Solana trading bot
    07:15 Refreshing balances and initializing price watch for Solana trading bot.
    08:54 Creating a Solana trading bot involves executing swap functions efficiently.
    10:35 Setting up next trade thresholds and token switches
    12:21 Setting up a Solana trading bot with specific parameters
    Crafted by Merlin AI.

  • @monkeyden
    @monkeyden 2 месяца назад +3

    Bro, close your file chooser when you're going through the code. It unnecessarily takes up screen real estate and places your face over the code.

  • @FunnyInternetTrends
    @FunnyInternetTrends 7 месяцев назад +11

    i was searching this since 5 hours, thanks!

  • @itsmeonline-cw8xq
    @itsmeonline-cw8xq 7 месяцев назад +5

    Perfect timing | Quick node / Jupiter SWAP API +1000%%!
    Really appreciate these hands on guides @QuickNode

    • @monkeygames1771
      @monkeygames1771 7 месяцев назад +1

      did you use a public one or paid?

    • @FxLybs
      @FxLybs 7 месяцев назад +1

      really true!!!!

    • @TraceyGrimes-dl4mr
      @TraceyGrimes-dl4mr 6 месяцев назад +1

      Can I trade memecoin with this bot as well?

    • @richardore896
      @richardore896 6 месяцев назад

      @@TraceyGrimes-dl4mr I doubt it as the Jupiter swap api has a requirement that only tokens with more than $500 liquidity can be traded. Even at that, it still takes almost 30 minutes for the tokens to show up on the swap api

  • @A64632
    @A64632 24 дня назад +2

    I do not familiar with JS or TS, and actually don't want. Any ideas for Python or Php?

  • @quakeIII
    @quakeIII 5 месяцев назад +1

    Working really well, except for Program Error: "Instruction #6 Failed - Slippage tolerance exceeded"

  • @mark1086
    @mark1086 6 месяцев назад +3

    How does the speed of these swaps compare to Trojan/Bonk bot etc? Thanks for the video!

  • @Ipabelsocial
    @Ipabelsocial 2 месяца назад +1

    Thanks for your great content!

  • @Sergiorolemberg
    @Sergiorolemberg Месяц назад +2

    which token is gonna be buy?

  • @nachohaxor
    @nachohaxor 3 месяца назад +1

    @QuickNode can the priority fee api be used with the metis endpoint?

  • @babypaulstv1961
    @babypaulstv1961 День назад

    Pls help i need to get market address how do i make my bot monitor coin price? Can i use Jupiter api?

  • @LouisCherokee
    @LouisCherokee 5 месяцев назад +4

    I wanted to thank you for your Financial Advice !

  • @FxLybs
    @FxLybs 7 месяцев назад +1

    but how far ahead are our friends at Quicknode??

  • @InvestidorCrypto2019
    @InvestidorCrypto2019 4 месяца назад +3

    Error when executing the command: ts-node index.ts . Which script should I configure in panckage.json?
    Do I need to create a "src" folder or just modify the script for start ?

  • @huomeng5748
    @huomeng5748 4 месяца назад +1

    Error: Cannot find module 'rpc-websockets/dist/lib/client' what is this problem

  • @HighTechGeeks
    @HighTechGeeks 6 месяцев назад +1

    whats the difference between using this vs the telegram bots like bonk bot?

    • @abba4050
      @abba4050 4 месяца назад +1

      You are in control

    • @babypaulstv1961
      @babypaulstv1961 День назад

      ​@@abba4050is bonk bot safe?

  • @_D3adB0y_
    @_D3adB0y_ 5 месяцев назад +1

    Thanks for the thelp. Although, the amount of code it takes to do anything on Solana is so dumb lol.

  • @corinth2006
    @corinth2006 6 месяцев назад +1

    I am using solana tg banna gun bot at the moment and am thinking of trying this out... I am curious about performance... How does this set compare to gun bot in terms of transaction speed and fees

  • @Ipabelsocial
    @Ipabelsocial 2 месяца назад

    Hi! With this code I sometimes get this on the wallet transactions: Program Error: "Instruction #6 Failed - Slippage tolerance exceeded". Is this normal, or the slippage has to be adjusted? Thanks!

  • @soundgrounding
    @soundgrounding 6 месяцев назад +2

    Jup library 🔥

  • @rolandonwa2369
    @rolandonwa2369 Месяц назад +2

    Make a video for swapping, the bot will buy token on exchange 1 and sell on exchange 2 for profit

  • @alexeysmotrov
    @alexeysmotrov 15 дней назад

    But how about slippage? It could easily eat up all the gain without properly managed.

  • @tylerdurr2979
    @tylerdurr2979 6 месяцев назад

    Do you have typescript and ts-node installed globally, installed as a dependency, or installed as a dev-dependency?

    • @QuickNode
      @QuickNode  6 месяцев назад +1

      Have them installed globally

    • @tylerdurr2979
      @tylerdurr2979 6 месяцев назад +1

      Ok. thanks! Also, I’m getting the following error in the index.ts file: “Unexpected non-whitespace character after JSON at position 1
      at JSON. parse («anonymous>)”. I believe it’s throwing the error at line 18
      (let decodedSecretKey = Uint8Array.from(JSON.parse(process.env.SECRET_KEY));). Any idea what might be causing this error?

    • @QuickNode
      @QuickNode  6 месяцев назад +1

      This error is because of improper pasting of secret key. Make sure that it’s in a single like with just a comma and space between two numbers for example, [23, 56, 77,….]

    • @tylerdurr2979
      @tylerdurr2979 6 месяцев назад +2

      Got it working now! Thanks so much!!!

    • @InvestidorCrypto2019
      @InvestidorCrypto2019 4 месяца назад

      @@tylerdurr2979 I'm glad your bot worked, could you please tell me which start script to put? Another thing, do you need to create a "src" folder and move the .bot.ts and index.ts files into "src"?

  • @acediamonds3188
    @acediamonds3188 3 месяца назад

    What platform is the best to deploy a Solana trading bot please, does anyone know?

  • @Negociosdelfuturo-lx1wu
    @Negociosdelfuturo-lx1wu 5 месяцев назад

    Hello, metis is added as an add-on in quicknode but it does not show the dashboard, therefore I cannot get the "REST Jupiter v6 swap API", do you know what happens?

  • @suchicoin
    @suchicoin 5 месяцев назад

    if I do not have the secret key but just the private key how should I do?

  • @jonni235
    @jonni235 4 месяца назад

    I cant use Visual STudio because gives me a lot of errors with Python

  • @TatuMyrzabekov
    @TatuMyrzabekov 6 месяцев назад

    Sir, my REST Jupiter V6 swap API is missing, and field is empty. HOw do i fix it ?

    • @QuickNode
      @QuickNode  6 месяцев назад

      Please, reach out to our support. Your issue will be solved promptly.

  • @mehmetatasayar3528
    @mehmetatasayar3528 4 месяца назад

    guys if i want to change those SOL and USDC pairs which part should i Change ? someone help me please

  • @AntonSavchenko-xb1ry
    @AntonSavchenko-xb1ry 3 месяца назад

    is it fit with pumpfun ?

  • @vitterr
    @vitterr 6 месяцев назад

    Question is there is a code for radium Swap! Also how to achieve 1 second speed in transactions

    • @mfml.crypto
      @mfml.crypto 6 месяцев назад

      Hey mate, could you help me? Is it possible to create it all from zero? I don't understand so much of coding.

  • @ivanlagade
    @ivanlagade 3 месяца назад

    How can I contact you for custom trading bot on solana?

  • @syncomatte
    @syncomatte 6 месяцев назад

    I am not able to get the Metis - Jupiter V6 Swap API. It does not show up on add-ons section of my endpoint. Any help appreciated.

    • @QuickNode
      @QuickNode  6 месяцев назад

      Please make sure that you’re looking at the add-on section of a Solana Mainnet endpoint

  • @Am_Miles
    @Am_Miles 6 месяцев назад

    It doesn't show dashboard on the regular account

    • @QuickNode
      @QuickNode  6 месяцев назад

      You would first have to install the addon from the addons section of your Solana Mainnet endpoint

    • @xrprealestate
      @xrprealestate 2 месяца назад

      @@QuickNode theres only view in marketplce, support, deactivate, no dashboard

  • @venu7venu751
    @venu7venu751 Месяц назад +1

  • @learntrading70
    @learntrading70 5 месяцев назад

    Hey I need sniper bot plz😊

  • @BhamarDa
    @BhamarDa Месяц назад

    😊😊😊😊😊😊😊😊

  • @LucCastera-k8o
    @LucCastera-k8o 6 месяцев назад

    Nice!

  • @RajeshT-vl9iv
    @RajeshT-vl9iv 5 месяцев назад

    ts-node index.ts --> after running this got the below error, How to resolve this?
    bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
    SyntaxError: Unexpected token J in JSON at position 3

  • @InvestidorCrypto2019
    @InvestidorCrypto2019 4 месяца назад

    Error when executing the command: ts-node index.ts . Which script should I configure in panckage.json?
    Do I need to create a "src" folder or just modify the script for start ?