ugurakagunduz / raydium-swap

Example of swap using raydium SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example of swap using raydium SDK


Languages

Language:TypeScript 100.0%