Programmable payroll app to automate payments and track payments using Streamflow.
- โ Automate payments via Streamflow
- โ Track and manage payments
- โ Add and manage employees
- โ Use on TestNet or DevNet (support for USDC only for now)
- โ Secure and transparent transaction history
- โ View Contract details and some stats
- โ Smart accounts - log in with socials and fund wallet
- ๐ Multi-chain support for payments
- ๐ Multi-token (this is already set up)
- ๐ Advanced analytics and reporting
- Frontend:
Next.js
&TypeScript
- Styling:
Styled Components
- Linting & Formatting:
ESLint
,Prettier
- Version Control & Hooks:
Husky
- Blockchain Integration: Streamflow Reown
Clone the repository and install dependencies:
git clone https://github.com/ceeriil/paystream.git
cd paystream
yarn install
yarn dev # Start development server
yarn build # Build for production
yarn start # Run the production build
Before running the project, you need to set up your environment variables.
-
Copy
.env.example
to.env
or.env.local
:cp .env.example .env
-
Populate the environment variables with the necessary credentials:
- Reown Project ID: To get a
NEXT_PUBLIC_PROJECT_ID
, go to Reown, create a project, and obtain the project ID. - Helius RPC: Obtain your Helius RPC URL by creating an account on Helius and generating an RPC endpoint. Alternatively, you can use another Solana RPC provider.
- Firebase Config: Get your Firebase environment variables by creating a project on Firebase. If you are working in a test or development environment, you can use the Firebase emulator instead.
- Reown Project ID: To get a
NEXT_PUBLIC_PROJECT_ID="reown project id"
NEXT_PUBLIC_HELIUS_MAINNET_RPC=""
NEXT_PUBLIC_HELIUS_DEVNET_RPC=""
NEXT_PUBLIC_ETH_ALCHEMY_SEPOLIA_RPC=""
NEXT_PUBLIC_ETH_ALCHEMY_MAINNET_RPC=""
NEXT_PUBLIC_FIREBASE_API_KEY=""
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=""
NEXT_PUBLIC_FIREBASE_PROJECT_ID=""
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=""
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=""
NEXT_PUBLIC_FIREBASE_APP_ID=""
GOOGLE_APPLICATION_CREDENTIALS=""
FIREBASE_SERVICE_ACCOUNT_KEY=""
If you encounter any issues, feel free to contact me for support.