How to Swap on Raydium DEX Using TypeScript

Описание к видео How to Swap on Raydium DEX Using TypeScript

In this video, learn how to programmatically swap on Raydium DEX of Solana using TypeScript.

Code used in the video: https://qn.social/QNCode-raydium-swap

Raydium V2 token pools: https://qn.social/QNRayPool-raydium-swap

Solana Priority Fee API docs: https://qn.social/QNPriDoc-raydium-swap

———
Get started with the fastest Solana RPC: https://qn.social/QNWebsite-raydium-swap

Checkout Solana Priority Fee API for Free: https://qn.social/QNPriFee-raydium-swap
———

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

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

00:00 Introduction
00:21 File structure
00:37 Flow of Raydium swap
03:04 Config.ts (for .env variables, priority fee, and swap config)
04:41 Solana Priority Fee API
05:44 Config.ts (for .env variables, priority fee, and swap config)
08:16 raydium-swap.ts (for loading pools, creating swap tx, tx type)
13:52 main.ts (for getting accounts and executing swap)
15:56 Simulating Swap transaction
16:45 Swapping SOL for BONK
17:59 Outro

Комментарии

Информация по комментариям в разработке