pmnts dapp allows for people to create and send payments on a slick PWA interface.
Bootstrapped with the privy PWA template.
This is a template progressive web app (PWA) built with Privy, Viem, NextPWA, and TailwindCSS. All transactions are sent on the Base Goerli testnet.
You may find the following code snippets within this repo useful:
Setting up your PWA's manifest, which controls how it appears when installed on a user device.
Configuring your PrivyProvider
component with your login methods, app ID, embedded wallet configuration, and more.
Using Privy's login
method and prompting users to install your PWA using the beforeinstallprompt
event (Android/Chrome-only).
Using Privy's user
object and various linking methods (linkApple
, linkGoogle
, linkPhone
).
Using Privy's embedded wallet to sign messages, send transactions (using viem!), and export the user's private key.
An example of a page you might have in your PWA to allow users to connect an external wallet, from which they can transfer assets to their embedded wallet.