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 rajeebk.malik@gmail.com or jitendragangwar2498@gmail.com