PayBit is a modern Bitcoin wallet app designed to make cryptocurrency accessible for everyone, especially people who are familiar with tech but are tired of the technicalities of cryptocurrency. The goal of PayBit is to allow instant, seamless Bitcoin transfers, just like PayPal or UPI.
- Taproot Support: Enhanced privacy and efficiency for Bitcoin transactions.
- Lightning Network Integration: Instant payments with low fees.
- User-Friendly Interface: Designed for simplicity and ease of use.
- Secure Transactions: Transparent and secure Bitcoin transfers.
-
Bitcoin Core:
- Install Bitcoin Core and ensure it is configured to run on
regtestmode. - Enable Taproot and Lightning Network in the configuration file (
~/.bitcoin/bitcoin.conf):regtest=1 fallbackfee=0.0002 server=1 txindex=1 rpcuser=your_rpc_user rpcpassword=your_rpc_password zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333
- Install Bitcoin Core and ensure it is configured to run on
-
LND (Lightning Network Daemon):
- Install and configure LND.
- Ensure the following settings in
~/.lnd/lnd.conf:[Application Options] alias=PayBitNode color=#3399FF restlisten=127.0.0.1:8080 listen=127.0.0.1:9735 rpclisten=127.0.0.1:10009 [Bitcoin] bitcoin.active=1 bitcoin.regtest=1 bitcoin.node=bitcoind [Bitcoind] bitcoind.rpchost=127.0.0.1 bitcoind.rpcuser=your_rpc_user bitcoind.rpcpass=your_rpc_password bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333
-
Node.js:
- Install Node.js (v16 or higher).
-
MongoDB:
- Install and run MongoDB for user and transaction data storage.
-
Clone the repository:
git clone https://github.com/arpan404/paybit.git cd paybit -
Install dependencies:
cd paybit-service npm install -
Start the backend server:
npm start
-
Ensure Bitcoin Core and LND are running before starting the backend.
-
Node.js:
- Install Node.js (v16 or higher).
-
Expo CLI:
- Install Expo CLI globally:
npm install -g expo-cli
- Install Expo CLI globally:
-
React Native:
- Ensure you have React Native development environment set up. Follow the React Native setup guide.
-
Navigate to the frontend directory:
cd paybit-mobile -
Install dependencies:
npm install
-
Start the Expo development server:
expo start
-
Use the Expo Go app on your mobile device to scan the QR code and run the app.
-
MongoDB:
- Ensure MongoDB is running before starting the backend server. The backend relies on MongoDB for storing user and transaction data.
-
Configuration Files:
- Update the configuration files for both the backend and frontend to match your environment:
- Backend: Update config with the correct Bitcoin RPC, LND, and MongoDB connection details.
- Frontend: Update config with the correct API endpoint for the backend server.
- These changes are necessary to ensure the server and app run smoothly on your device.
- Update the configuration files for both the backend and frontend to match your environment:
We welcome contributions! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.