Solana Pay is a specification for payments on Solana. It describes a way to encode a payment request in a URL, which can be displayed to users - for example as a QR code. And Solana mobile wallets are adding support for it, so users can seamlessly scan that QR code and make the payment.
- solana/wallet-adapter-react: React library for integrating Solana wallets.
- solana/web3.js: JavaScript library for interacting with the Solana blockchain.
- tailwindcss: Highly customizable CSS framework for building modern UIs.
- next: React framework for server-rendered applications.
- react: JavaScript library for building user interfaces.
- react-dom: Entry point for rendering React components.
- typescript: Typed superset of JavaScript that compiles to plain JavaScript.
- bignumber.js: JavaScript library for arbitrary-precision decimal arithmetic.
- components: Contains reusable UI components used throughout the project.
- lib: Houses utility functions and helper classes used across the project.
- pages: Contains the main pages of the application.
- pages/api: Handles serverless API endpoints for the application.
- public: Stores static assets like images, fonts, and favicon.
- styles: Contains global styles and CSS modules used in the project.
Note: As the provided directories are limited, the list of essential directories is also limited.
- Insert a guide
1.Clone the solana-pay repository:
git clone https://github.com/sohomx/solana-pay
2.Install the dependencies with one of the package managers listed below:
pnpm install
bun install
npm install
yarn install
3.Start the development mode:
pnpm dev
bun dev
npm run dev
yarn dev
This project is licensed under the MIT License - see the MIT License file for details.