Skip to content

deletedcu/FunnySolanaPay

Repository files navigation

Funny Solana Pay

Funny Solana Pay is the test project for using Solana Pay easily on Solana devnet.

Getting Started

Mint Spl-token:

Please use ming-fungible-spl-token to mint spl-token easily.

Setup environment file:

Create .env file from .env.example.

cp .env.example .env

Set your environment values in .env file

NEXT_PUBLIC_SHOP_PRIVATE_KEY=
NEXT_PUBLIC_DEVNET_NODE=

You can use Solana public rpc node such as https://api.devnet.solana.com or use your private rpc node.

Check out RPC providers for more details.

Install dependencies:

npm install
# or
yarn install

Run the development server:

npm run dev
# or
yarn dev

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

Learn More

To learn more about Next.js and Solana Pay, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Deploy on Netlify

The another way to deploy your Next.js app is to use the Netlify Platform.

Check out Next.js on Netlify for more details.