Meme coins

How to Create a Solana Trading Bot



In this video, learn how to create a Solana trading bot using QuickNode Metis – Jupiter Swap API.

Written version & code used in the video: https://qn.social/QNGuide-metis

Official Jupiter Swap API docs: https://qn.social/QNJupDoc-metis

———
Get access to Metis – Jupiter Swap API: https://qn.social/QNDoc-metis
———

Jupiter Swap Public API: https://qn.social/QNPublic-metis

QuickNode loves sharing its knowledge and tech with the community. Check out the following resources ♥:
Blog: https://qn.social/QNBlog-metis
Web3 Courses: https://qn.social/QNCourses-metis
Web3 guides: https://qn.social/QNGuides-metis
RPC docs: https://qn.social/QNDocs-metis
Discord community: https://qn.social/QNDiscord-metis

Follow us on our social channels to stay updated about everything #web3:
Twitter: https://qn.social/QNTwitter-metis
Facebook: https://qn.social/QNFacebook-metis
Instagram: https://qn.social/QNInstagram-metis
Linkedin: https://qn.social/QNLinkedIn-metis

source

18 Comments

  1. 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.

  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!

  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.

  4. Great video, thanks. BTW, reinstall VSC and catch exception ERR_UNKNOWN_FILE_EXTENSION when trying to launch index.ts. Can you help out?

  5. 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 ?

  6. 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 ?

  7. 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.

Back to top button