Django Bitcoin Wallet is a simple web application that allows users to send and receive Bitcoin. It provides a user-friendly interface for managing Bitcoin addresses, checking account balance, and viewing transaction history.
The wallet interacts with the Bitcoin network using a Bitcoin node (or a third-party API) to send and receive transactions securely.
- User authentication and account management.
- Generation of unique Bitcoin addresses for each user.
- Send Bitcoin to other addresses.
- View transaction history and account balance.
- Python 3.x
- Django (>=2.2)
- Bitcoin node or access to a Bitcoin API service
- create an anaconda environment
conda create -n btc_wallet_dj python=3.x
conda activate btc_wallet_dj
- Create a virtual environment (optional but recommended):
python -m venv env
source env/bin/activate # On Windows use env\Scripts\activate
- Clone the repository:
git clone https://github.com/HMFazleRabbi/bitcoinwallet_dj.git
cd django-bitcoin-wallet
- Install dependencies:
pip install -r requirements.txt
- We will be using the posgres sql library, which can be installed as follows.
-
Run migrations:
python manage.py runserver
-
Start the development server:
python manage.py runserver
Visithttp://127.0.0.1:8000/
in your web browser to access the application.
-
Protect your private keys: Ensure that your private keys are kept secure and never shared with anyone. This application does not store private keys on the server.
-
Use HTTPS: If deploying to a production environment, use HTTPS to secure communication between the client and server.
-
Regular Updates: Keep all dependencies up to date to mitigate potential security vulnerabilities.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Disclaimer: This application is for educational and demonstrative purposes only. Use it at your own risk. We are not responsible for any loss of funds or damages caused by the use of this application.