Skip to content

A front-end to swap Solana tokens using Raydium SDK in NextJS

Notifications You must be signed in to change notification settings

atillabirer/solana-nextjs-dex

Repository files navigation

solana-nextjs-dex

Ape into Solana memecoins without waiting for them to appear on Raydium or Jupiter frontends (which can take half an hour) Calls Raydium AMM contract directly to get token and pool info

Technologies used:

  • Material UI
  • react-wallet-adapter for Solana wallets
  • Raydium SDK
  • NextJS
  • @solana/web3.js

screenshot for the swap page project

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/material-ui-nextjs-ts
cd material-ui-nextjs-ts

Install it and run:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

or:

Edit on StackBlitz

Edit on CodeSandbox

Learn more

To learn more about this example:

What's next?

You now have a working example project. You can head back to the documentation and continue by browsing the templates section.

solana-nextjs-dex

About

A front-end to swap Solana tokens using Raydium SDK in NextJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published