Super early version of a mobile client for the Mostro P2P platform.
This project is a mobile interface that facilitates peer-to-peer bitcoin trading over the lightning network ⚡️ using nostr 🦩. The lightning network is a layer 2 scaling solution for bitcoin that enables fast and low-cost transactions.
- Install Flutter: Follow the official guide for your operating system.
- Install Android Studio or Xcode (for iOS development)
- Install VS Code (optional but recommended)
- Install Polar: For simulating Lightning Network nodes
-
Clone the repository:
git clone https://github.com/MostroP2P/mobile.git cd mobile
-
Install Flutter dependencies:
flutter pub get
flutter run
Connect your device and run:
flutter run
-
Clone the Mostro repository:
git clone https://github.com/MostroP2P/mostro.git cd mostro
-
Set up the configuration:
cp settings.tpl.toml settings.toml
Edit
settings.toml
with your specific configurations. -
Initialize the database:
./init_db.sh
-
Run the Mostro daemon:
cargo run
- Launch Polar and create a new Lightning Network.
- Configure at least one node (e.g., "alice").
- Copy the necessary connection details (cert file, macaroon file) to your Mostro
settings.toml
.
- Ensure Polar is running with your test Lightning Network.
- Start the Mostro daemon.
- Run the Flutter app and connect it to your local Mostro instance.
Please take a look at our issues section for areas where you can contribute. We welcome all contributions, big or small! 😊
This project is licensed under the MIT License. See the LICENSE
file for details.
- Displays order list
- Take orders (Buy & Sell)
- Posts Orders (Buy & Sell)
- Direct message with peers (use nip-17)
- Fiat sent
- Release
- Maker cancel pending order
- Cooperative cancellation
- Buyer: add new invoice if payment fails
- Rate users
- List own orders
- Dispute flow (users)
- Dispute management (for admins)
- Conversation key management
- Create buy orders with LN address
- Nip-06 support (identity management)
- Settings tab
- Notifications