Skip to content

precious-void/raydium-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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