Skip to content

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.

License

Notifications You must be signed in to change notification settings

rakibmia7254/ctrip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

GitHub license

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/<payment_address> 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 file for details.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published