Skip to content

A front-end to swap Solana tokens using Jupiter API in NextJS

Notifications You must be signed in to change notification settings

atillabirer/solana-nextjs-dex

Repository files navigation

DEX in NextJS for Solana tokens using Material UI + Jupiter API

Technologies used:

  • Material UI
  • react-wallet-adapter for Solana wallets
  • Jupiter API for quotes and swap instructions
  • NextJS
  • @solana/web3.js

Contact me on Discord atilla4030 to get a version using Raydium SDK that can buy new tokens (live for less than 1 minute even)

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 Jupiter API in NextJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published