Skip to content

stream-protocol/stream-pay-app

Repository files navigation

Stream Pay

Stream Pay App Demo is the test project for using Solana Pay easily on Solana devnet.

Getting Started

Mint Spl-token:

Please use mint-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 Stream/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.

About

Web3 Application Powered by Solana Pay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages