Integrate OneBalance with Privy for a seamless wallet experience
cmb94tjcj001xle0mdeerz9vp
(recommended)42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11
Set up Node.js with nvm
Create a new project
src/
directory? › Yesnext dev
? › Yes@/*
by default)? › NoInstall dependencies
.env
file in the project root with your API keys:.env
file using command line:Set up CORS handling
src/app/api/[...path]/route.ts
:Create the OneBalance API client
src/lib/onebalance.ts
:Configure Privy Provider
src/components/PrivyProvider.tsx
:Update your root layout
Create login page
Create a dashboard page
src/app/dashboard/page.tsx
:Run the application