Payjoin React Native
Alpha Software
React Native Library to Payjoin
About
Payjoin React Native is a mobile-focused implementation of the Payjoin (P2EP) protocol built with React Native. This library facilitates secure peer-to-peer Bitcoin transactions, enhancing privacy by allowing the payer and payee to contribute inputs to the same transaction.
The library is fully compatible with Bitcoin Core and other Bitcoin-compatible APIs, making it a versatile solution for integrating Payjoin into mobile applications.
Key Features
-
Payjoin Protocol Integration: Implements Payjoin (BIP-78) to enhance privacy by allowing input contributions from both parties in a transaction.
-
Bitcoin Core Support: Seamlessly integrates with Bitcoin Core nodes for transaction signing, broadcasting, and input/output management.
-
API Compatibility: Works with Bitcoin-compatible APIs for ease of setup and use without the need for running a full node.
-
React Native Framework: Built specifically for mobile platforms, leveraging React Native for cross-platform compatibility.
-
Secure and Private: Enhances privacy by obfuscating input ownership, protecting against blockchain analysis.
-
Easy Setup and Configuration: User-friendly API to connect and start performing Payjoin transactions with minimal setup.
Main Functions
-
Transaction Creation: Easily create Bitcoin transactions with Payjoin support.
-
Input/Output Management: Automatically handles UTXO selection for both payer and payee.
-
Broadcasting Transactions: Broadcast completed Payjoin transactions to the Bitcoin network using Bitcoin Core or compatible APIs.
-
Payjoin Communication: Establish communication between payer and payee using the Payjoin endpoint for seamless integration.
-
Bitcoin Core RPC Support: Utilize Bitcoin Cores RPC interface for advanced transaction handling, fee calculation, and more.
-
Compatibility with Bitcoin Services: Connect with third-party Bitcoin APIs for non-full-node setups, providing flexibility for developers.
Installation
Instructions for installing the package and integrating it into your React Native project will be added here.
npm i payjoin-react-native
Roadmap