Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 483 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 483 Bytes

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