How to Create a Solana Trading Bot

  Рет қаралды 113,614

QuickNode

QuickNode

Күн бұрын

In this video, learn how to create a Solana trading bot using QuickNode Metis - Jupiter Swap API.
Written version & code used in the video: qn.social/QNGu...
Official Jupiter Swap API docs: qn.social/QNJu...
---
Get access to Metis - Jupiter Swap API: qn.social/QNDo...
---
Jupiter Swap Public API: qn.social/QNPu...
QuickNode loves sharing its knowledge and tech with the community. Check out the following resources ♥:
Blog: qn.social/QNBl...
Web3 Courses: qn.social/QNCo...
Web3 guides: qn.social/QNGu...
RPC docs: qn.social/QNDo...
Discord community: qn.social/QNDi...
Follow us on our social channels to stay updated about everything #web3:
Twitter: qn.social/QNTw...
Facebook: qn.social/QNFa...
Instagram: qn.social/QNIn...
Linkedin: qn.social/QNLi...

Пікірлер: 66
@dyablohunter
@dyablohunter 4 ай бұрын
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 4 ай бұрын
I can help you build your bot bro
@prosperogbeta3878
@prosperogbeta3878 2 ай бұрын
He’s here to learn not pay someone lol
@JosePereira-zz7gv
@JosePereira-zz7gv 26 күн бұрын
😊pⁿ​@@prosperogbeta3878
@OsmachThmey-vx7rx
@OsmachThmey-vx7rx 8 күн бұрын
😊😊
@QuickNode
@QuickNode 8 күн бұрын
- If you were looking for a simple swap example on Raydium DEX, this video should help: kzbin.info/www/bejne/aqWmfGaXrNNjisU - 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
@rolandonwa2369
@rolandonwa2369 7 күн бұрын
Make a video for swapping, the bot will buy token on exchange 1 and sell on exchange 2 for profit
@venu7venu751
@venu7venu751 16 күн бұрын
@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 ?
@Crypto.Vantage
@Crypto.Vantage Ай бұрын
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 Ай бұрын
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.
@nachohaxor
@nachohaxor 2 ай бұрын
@QuickNode can the priority fee api be used with the metis endpoint?
@quakeIII
@quakeIII 4 ай бұрын
Working really well, except for Program Error: "Instruction #6 Failed - Slippage tolerance exceeded"
@_D3adB0y_
@_D3adB0y_ 4 ай бұрын
Thanks for the thelp. Although, the amount of code it takes to do anything on Solana is so dumb lol.
@FunnyInternetTrends
@FunnyInternetTrends 6 ай бұрын
i was searching this since 5 hours, thanks!
@BhamarDa
@BhamarDa 4 күн бұрын
😊😊😊😊😊😊😊😊
@Ipabelsocial
@Ipabelsocial Ай бұрын
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!
@corinth2006
@corinth2006 5 ай бұрын
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
@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 ?
@Sergiorolemberg
@Sergiorolemberg 29 күн бұрын
which token is gonna be buy?
@Ipabelsocial
@Ipabelsocial Ай бұрын
Thanks for your great content!
@itsmeonline-cw8xq
@itsmeonline-cw8xq 6 ай бұрын
Perfect timing | Quick node / Jupiter SWAP API +1000%%! Really appreciate these hands on guides @QuickNode
@monkeygames1771
@monkeygames1771 6 ай бұрын
did you use a public one or paid?
@FxLybs
@FxLybs 6 ай бұрын
really true!!!!
@TraceyGrimes-dl4mr
@TraceyGrimes-dl4mr 6 ай бұрын
Can I trade memecoin with this bot as well?
@richardore896
@richardore896 5 ай бұрын
@@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
@Negociosdelfuturo-lx1wu
@Negociosdelfuturo-lx1wu 4 ай бұрын
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?
@acediamonds3188
@acediamonds3188 2 ай бұрын
What platform is the best to deploy a Solana trading bot please, does anyone know?
@mehmetatasayar3528
@mehmetatasayar3528 4 ай бұрын
guys if i want to change those SOL and USDC pairs which part should i Change ? someone help me please
@huomeng5748
@huomeng5748 4 ай бұрын
Error: Cannot find module 'rpc-websockets/dist/lib/client' what is this problem
@FxLybs
@FxLybs 6 ай бұрын
but how far ahead are our friends at Quicknode??
@jonni235
@jonni235 3 ай бұрын
I cant use Visual STudio because gives me a lot of errors with Python
@soundgrounding
@soundgrounding 6 ай бұрын
Jup library 🔥
@HighTechGeeks
@HighTechGeeks 5 ай бұрын
whats the difference between using this vs the telegram bots like bonk bot?
@abba4050
@abba4050 3 ай бұрын
You are in control
@ivanlagade
@ivanlagade 2 ай бұрын
How can I contact you for custom trading bot on solana?
@mark1086
@mark1086 5 ай бұрын
How does the speed of these swaps compare to Trojan/Bonk bot etc? Thanks for the video!
@LouisCherokee
@LouisCherokee 5 ай бұрын
I wanted to thank you for your Financial Advice !
@suchicoin
@suchicoin 5 ай бұрын
if I do not have the secret key but just the private key how should I do?
@learntrading70
@learntrading70 4 ай бұрын
Hey I need sniper bot plz😊
@vitterr
@vitterr 5 ай бұрын
Question is there is a code for radium Swap! Also how to achieve 1 second speed in transactions
@mfml.crypto
@mfml.crypto 5 ай бұрын
Hey mate, could you help me? Is it possible to create it all from zero? I don't understand so much of coding.
@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.
@AntonSavchenko-xb1ry
@AntonSavchenko-xb1ry 2 ай бұрын
is it fit with pumpfun ?
@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
@tylerdurr2979
@tylerdurr2979 5 ай бұрын
Do you have typescript and ts-node installed globally, installed as a dependency, or installed as a dev-dependency?
@QuickNode
@QuickNode 5 ай бұрын
Have them installed globally
@tylerdurr2979
@tylerdurr2979 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
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"?
@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 Ай бұрын
@@QuickNode theres only view in marketplce, support, deactivate, no dashboard
@LucCastera-k8o
@LucCastera-k8o 6 ай бұрын
Nice!
@RajeshT-vl9iv
@RajeshT-vl9iv 4 ай бұрын
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
How to Track New Pools Created on Solana Raydium DEX
8:51
QuickNode
Рет қаралды 32 М.
How to Code a AI Trading bot (so you can make $$$)
35:09
Nicholas Renotte
Рет қаралды 640 М.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 5 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 70 МЛН
9 incredible AI apps that changed my life forever
16:29
Silicon Valley Girl
Рет қаралды 246 М.
Token swaps with Raydium SDK on Solana
13:05
Chainstack
Рет қаралды 1,2 М.
🔴 Let's code a trading bot for Solana!
52:21
EatTheBlocks
Рет қаралды 8 М.
Flash Loan Arbitrage | Aave Flash Loan Tutorial
48:34
Block Explorer
Рет қаралды 147 М.
6 Best APP Builders For Beginners In 2024 (NO CODE)
32:39
WeAreNoCode
Рет қаралды 283 М.
Reacting to 21 Design Portfolios in 22 Minutes
22:41
Flux Academy
Рет қаралды 604 М.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 5 МЛН