create-privy-embedded-app
v0.5.1
Published
A CLI tool to create Privy embedded wallet applications
Maintainers
Readme
create-privy-embedded-app
A CLI tool to quickly scaffold Privy embedded wallet applications with Next.js.
Usage
With npx (recommended)
npx create-privy-embedded-app my-appWith npm
npm create privy-embedded-app my-appWith pnpm
pnpm create privy-embedded-app my-appWith yarn
yarn create privy-embedded-app my-appOptions
[project-name]- Optional project name. If not provided, you'll be prompted.-y, --yes- Skip all prompts and use defaults
What's Included
The generated project includes:
- Next.js 15 with TypeScript
- Privy embedded wallet integration
- Wagmi and Viem for Web3 interactions
- Tailwind CSS for styling
- Multi-chain support (all chains in Viem + more)
- Dark/light theme toggle
- Responsive design
- Transaction examples
After Creation
Navigate to your project:
cd my-appInstall dependencies:
npm installAdd your Privy App ID to
.env.local:NEXT_PUBLIC_PROJECT_ID=your_privy_app_id_hereStart the development server:
npm run devOpen http://localhost:3000 in your browser
Getting a Privy App ID
- Visit Privy Dashboard
- Create a new app or select an existing one
- Copy your App ID from the dashboard
- In your app settings, go to Authentication → Advanced → Enable "Disable confirmation modals"
Support
License
MIT
