Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atillabirer/solana-nextjs-dex

A front-end to swap Solana tokens using Jupiter API in NextJS
https://github.com/atillabirer/solana-nextjs-dex

jupiter-aggregator material-ui nextjs raydium-swap solana web3js

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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 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](https://i.imgur.com/MfWeVzS.png "Screenshot")

## How to use

Download the example [or clone the repo](https://github.com/mui/material-ui):

```bash
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:

```bash
npm install
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

or:

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts)

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/material-ui-nextjs-ts)

## Learn more

To learn more about this example:

- [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Customizing Material UI](https://mui.com/material-ui/customization/how-to-customize/) - approaches to customizing Material UI.

## What's next?

You now have a working example project.
You can head back to the documentation and continue by browsing the [templates](https://mui.com/material-ui/getting-started/templates/) section.
# solana-nextjs-dex