/raydium-swap

Swap example using the Raydium SDK

Primary LanguageTypeScript

USE AT YOUR OWN RISK!

raydium-swap

This repo is an example of making a swap SOL -> PYTH, by default it does not execute any transactions, just does the simulation, edit the variable executeSwap in src/index.ts to execute the swap transaction.

yarn && RPC_URL="<YOUR_RPC_URL>" WALLET_PRIVATE_KEY="<YOUR_WALLET_PRIVATE_KEY>" yarn start

Useful links