Clone the repository and install the dependencies:
Tip
If you don't have PNPM installed, you can install it using corepack:
corepack enable
corepack prepare pnpm@8 --activate- Clone the repository:
git clone https://github.com/pubkeyapp/solana-pay-playground
cd solana-pay-playground
pnpm installStart the API
pnpm dev:apiStart the web app
pnpm dev:webSolana Pay requires https to work, so in development you need something like ngrok to expose your local server to the internet.
Be sure to update the allowedHosts property in web/project.json to allow the ngrok URL.
pnpm tunnel