Skip to content

ceeriil/paystream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Paystream

Programmable payroll app to automate payments and track payments using Streamflow.

🎥 Demo

Watch the demo

✨ Features (MVP)

  • ✅ 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

🔮 Future Enhancements

  • 🚀 Multi-chain support for payments
  • 🚀 Multi-token (this is already set up)
  • 🚀 Advanced analytics and reporting

⚡ Tech Stack


🛠️ Getting Started

🏰 Installation

Clone the repository and install dependencies:

git clone https://github.com/ceeriil/paystream.git
cd paystream
yarn install

🚀 Running the Project

yarn dev     # Start development server
yarn build   # Build for production
yarn start   # Run the production build

🔧 Environment Variables Setup

Before running the project, you need to set up your environment variables.

  1. Copy .env.example to .env or .env.local:

    cp .env.example .env
  2. 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.

📝 Environment Variables File (.env)

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.

About

Programmable payroll app to automate payments and track payments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages