Welcome to the Magic Internet Money Payment System!
The Magic Internet Money Payment System is a visionary initiative by Qala Africa to promote financial inclusion and innovation across Africa. This repository showcases the development of a project aimed at integrating Bitcoin and the Lightning Network to empower individuals with seamless, secure and convenient payment solutions. This project demonstrates a basic working knowledge of Bitcoin and the Lightning Network by building a simple application for accepting payments and providing confirmation to the user. It's meant to serve as a learning exercise and starting point for understanding cryptocurrency payment workflows.
- Clone the repository:
- Install the required dependencies:
- Run the payment application:
git clone https://github.com/elfeenah/magic-internet-money.git
pip install bitcoinlib
python payment_app.py
The application generates a Bitcoin address for receiving payments. It continuously monitors the blockchain for incoming payments to that address. Once a payment is detected, a confirmation message is displayed.
Contributions are welcome! If you'd like to contribute to the project, follow these steps:
- Fork the repository.
- Create a new branch for your contribution.
- Make your changes and improvements.
- Test your changes thoroughly.
- Submit a pull request.
Feel free to open an issue if you encounter any problems or have suggestions.
This example is for educational purposes and might not include all necessary security measures or edge case handling for a production environment. Use caution when working with real cryptocurrencies and consider using testnet or signet for development and testing.
Ensure you have set up a local Bitcoin node or have access to a testnet node to fetch blockchain data. Modify the script to use the appropriate RPC URL for your node.
The provided links to the Qala Africa website, LinkedIn, and Twitter reflect our commitment to these goals.
As you contribute to the project, consider Qala's mission and values in every aspect of development.
Join us in shaping a better future with financial inclusion!
This project is developed by Nafisa Lawal Idris. You can find more of my work on GitHub.
Feel free to contribute and help improve this project!