Get started with HandyPay in your project. Choose your preferred installation method below.
Prerequisites
- Node.js 18 or higher
- A React project (Next.js, Vite, or Remix)
- Tailwind CSS configured in your project
CLI Installation
The fastest way to get started is using our CLI. It will automatically configure your project and install the necessary dependencies.
npx handypay@latest initManual Installation
If you prefer to set things up manually, you can install the core package and configure it yourself.
npm install @handypay/react
npm install @handypay/coreConfiguration
After installation, you need to configure your environment variables and set up the provider in your app.
Environment Setup
Add these variables to your .env file
NEXT_PUBLIC_HANDYPAY_KEY=your_public_key
HANDYPAY_SECRET_KEY=your_secret_key