Traditional payment systems lack transparency, efficiency, and security, especially when it comes to stablecoin payments. Businesses and users face challenges such as:
⚡ High transaction fees
🔗 Lack of interoperability
🐢 Slow processing times
SeiAgentPay is a decentralized stablecoin payment system that allows users to make payments seamlessly using DAI, USDT, and USDC. It integrates an AI-powered recommendation system to suggest the best stablecoin based on transaction history and user behavior, ensuring cost-effective and efficient transactions.
✅ 🔍 Stablecoin Recommendation – AI-powered system to suggest the best stablecoin for payments.
✅ 💰 Multi-Stablecoin Support – Supports DAI, USDT, and USDC transactions.
✅ 🔐 Secure Transactions – Trustless and transparent payments using smart contracts.
✅ 🏪 Merchant Payments – Enables direct stablecoin transfers to merchants.
✅ ⚡ Fast & Low-Cost – Built on Sei Network for high-speed and low-fee transactions.
✅ 🔧 Admin Control – Allows updating stablecoin addresses and managing settings securely.
SeiAgentPay integrates a machine learning-based stablecoin recommendation model that suggests the best stablecoin for a given transaction based on:
- User Transaction History (average volume & frequency)
- Merchant Category
- Transaction Purpose
- The RandomForestClassifier is used to train a model with transaction data.
- The model is exposed via a FastAPI backend that provides an API for recommendations.
- Encoders ensure categorical data (merchant category & transaction purpose) is processed correctly.
- The recommendation engine runs on Google Colab for model training and can be deployed locally or on a server.
git clone https://github.com/jitendragangwar123/SeiAgentPay
cd SeiAgentPay
cd stablecoin-recommender
pip install -r requirements.txt
If you want to retrain the model, run:
python train_model.py
This generates updated .pkl model files and user transaction history.
python main.py
cd front-end
npm install
npm run dev
The backend provides the following endpoints:
Endpoint | Method | Description |
---|---|---|
/ |
GET | Check API status |
/users |
GET | Fetch user transaction data |
/recommend |
POST | Get the best stablecoin recommendation |
We welcome contributions from the community! 🌍
Feel free to open issues, submit pull requests, or suggest new features.
This project is licensed under the MIT License. 📝
Please reach out to us at [email protected] or [email protected]