Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakibmia7254/ctrip
cTrip Crypto Payment Gateway: Flask-based solution for Crypto payments. Features include automatic payment checking, Securely stores data in a JSON database. Ideal for businesses embracing cryptocurrency transactions.
https://github.com/rakibmia7254/ctrip
cryptocurrency-payment-gateway flask-api
Last synced: 1 day ago
JSON representation
cTrip Crypto Payment Gateway: Flask-based solution for Crypto payments. Features include automatic payment checking, Securely stores data in a JSON database. Ideal for businesses embracing cryptocurrency transactions.
- Host: GitHub
- URL: https://github.com/rakibmia7254/ctrip
- Owner: rakibmia7254
- License: mit
- Created: 2024-02-02T12:30:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-14T09:14:07.000Z (9 months ago)
- Last Synced: 2024-02-14T10:28:09.127Z (9 months ago)
- Topics: cryptocurrency-payment-gateway, flask-api
- Language: Python
- Homepage: https://rakibmia7254.github.io/ctrip-docs/
- Size: 2.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ctrip
cTrip Crypto Payment Gateway: Flask-based solution for Crypto payments. Features include automatic payment checking, Securely stores data in a JSON database. Ideal for businesses embracing cryptocurrency transactions.![Project Image](ctrip.png)
![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)
## Overview
The cTrip Crypto Payment Gateway is a Flask-based solution for integrating cryptocurrency payments, specifically leveraging Ethereum blockchain technology. This project simplifies the generation of unique payment addresses, automatic payment checking, and admin notifications.
## Key Features
- **Ethereum Integration:** Utilizes Web3.py for Ethereum blockchain interaction.
- **Automatic Payment Checking:** Background tasks automatically check payment statuses.
- **Dark Theme and Responsive UI:** Styled with Bulma for a visually appealing and responsive user interface.
- **JSON Database Storage:** File-based JSON database for secure storage and retrieval of payment information.
- **Admin Notification:** Automatically sends payment information to an admin address.## Getting Started
1. Clone the repository: `git clone https://github.com/rakibmia7254/ctrip.git`
2. Install dependencies: `pip install -r requirements.txt`
3. Configure Ethereum settings, Infura API, and admin addresses in the code.
4. Run the Flask application: `python main.py`## Usage
- **Generate Payment Address:** Access `/generate_payment_address` for a unique payment address and private key.
- **Check Payment Status:** Use `/check_payment/` to verify payment status.
- **Admin Notification:** Successful payments trigger automatic notifications to an admin address.## Contributing
Contributions are welcome! Feel free to open issues, suggest improvements, or submit pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.