{"id":13832876,"url":"https://github.com/MostroP2P/mostro-cli","last_synced_at":"2025-07-09T20:30:39.498Z","repository":{"id":143143482,"uuid":"583342682","full_name":"MostroP2P/mostro-cli","owner":"MostroP2P","description":"Mostro P2P cli client","archived":false,"fork":false,"pushed_at":"2025-06-02T21:56:09.000Z","size":896,"stargazers_count":31,"open_issues_count":5,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-03T05:44:32.060Z","etag":null,"topics":["bitcoin","cli","lightning-network","nostr","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MostroP2P.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-29T13:47:50.000Z","updated_at":"2025-06-02T12:46:47.000Z","dependencies_parsed_at":"2023-12-05T16:28:07.760Z","dependency_job_id":"fc09de42-010b-442e-a143-be7d9fff928d","html_url":"https://github.com/MostroP2P/mostro-cli","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/MostroP2P/mostro-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostroP2P","download_url":"https://codeload.github.com/MostroP2P/mostro-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502642,"owners_count":23618663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","cli","lightning-network","nostr","rust"],"created_at":"2024-08-04T11:00:32.617Z","updated_at":"2025-07-09T20:30:39.484Z","avatar_url":"https://github.com/MostroP2P.png","language":"Rust","funding_links":[],"categories":["Peer-to-peer markets"],"sub_categories":["Client reviews and/or comparisons"],"readme":"# Mostro CLI 🧌\n\n![Mostro-logo](static/logo.png)\n\nVery simple command line interface that show all new replaceable events from [Mostro](https://github.com/MostroP2P/mostro)\n\n## Requirements:\n\n0. You need Rust version 1.64 or higher to compile.\n1. You will need a lightning network node\n\n## Install dependencies:\n\nTo compile on Ubuntu/Pop!\\_OS, please install [cargo](https://www.rust-lang.org/tools/install), then run the following commands:\n\n```\n$ sudo apt update\n$ sudo apt install -y cmake build-essential pkg-config\n```\n\n## Install\n\nTo install you need to fill the env vars (`.env`) on the with your own private key and add a Mostro pubkey.\n\n```\n$ git clone https://github.com/MostroP2P/mostro-cli.git\n$ cd mostro-cli\n$ cp .env-sample .env\n$ cargo run\n```\n\n# Usage\n\n```\nCommands:\n  listorders       Requests open orders from Mostro pubkey\n  neworder         Create a new buy/sell order on Mostro\n  takesell         Take a sell order from a Mostro pubkey\n  takebuy          Take a buy order from a Mostro pubkey\n  addinvoice       Buyer add a new invoice to receive the payment\n  getdm            Get the latest direct messages from Mostro\n  fiatsent         Send fiat sent message to confirm payment to other user\n  release          Settle the hold invoice and pay to buyer\n  cancel           Cancel a pending order\n  rate             Rate counterpart after a successful trade\n  dispute          Start a dispute\n  admcancel        Cancel an order (only admin)\n  admsettle        Settle a seller's hold invoice (only admin)\n  admlistdisputes  Requests open disputes from Mostro pubkey\n  admaddsolver     Add a new dispute's solver (only admin)\n  admtakedispute   Admin or solver take a Pending dispute (only admin)\n  help             Print this message or the help of the given subcommand(s)\n\nOptions:\n  -v, --verbose\n  -m, --mostropubkey \u003cMOSTROPUBKEY\u003e\n  -r, --relays \u003cRELAYS\u003e\n  -p, --pow \u003cPOW\u003e\n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n\n# Examples\n\n```\n$ mostro-cli -m npub1ykvsmrmw2hk7jgxgy64zr8tfkx4nnjhq9eyfxdlg3caha3ph0skq6jr3z0 -r 'wss://nos.lol,wss://relay.damus.io,wss://nostr-pub.wellorder.net,wss://nostr.mutinywallet.com,wss://relay.nostr.band,wss://nostr.cizmar.net,wss://140.f7z.io,wss://nostrrelay.com,wss://relay.nostrr.de' listorders\n\n# You can set the env vars to avoid the -m, -n and -r flags\n$ export MOSTROPUBKEY=npub1ykvsmrmw2hk7jgxgy64zr8tfkx4nnjhq9eyfxdlg3caha3ph0skq6jr3z0\n$ export RELAYS='wss://nos.lol,wss://relay.damus.io,wss://nostr-pub.wellorder.net,wss://nostr.mutinywallet.com,wss://relay.nostr.band,wss://nostr.cizmar.net,wss://140.f7z.io,wss://nostrrelay.com,wss://relay.nostrr.de'\n$ mostro-cli listorders\n\n# Create a new buy order\n$ mostro-cli neworder -k buy -c ves -f 1000 -m \"face to face\"\n\n# Cancel a pending order\n$ mostro-cli cancel -o eb5740f6-e584-46c5-953a-29bc3eb818f0\n\n# Create a new sell range order with Proof or work difficulty of 10\n$ mostro-cli neworder -p 10 -k sell -c ars -f 1000-10000 -m \"face to face\"\n```\n\n## Progress Overview\n\n- [x] Displays order list\n- [x] Take orders (Buy \u0026 Sell)\n- [x] Posts Orders (Buy \u0026 Sell)\n- [x] Sell flow\n- [x] Buy flow\n- [x] Maker cancel pending order\n- [x] Cooperative cancellation\n- [x] Buyer: add new invoice if payment fails\n- [x] Rate users\n- [x] Dispute flow (users)\n- [x] Dispute management (for admins)\n- [x] Create buy orders with LN address\n- [x] Direct message with peers (use nip-17)\n- [x] Conversation key management\n- [x] Add a new dispute's solver (for admins)\n- [ ] Identity management (Nip-06 support)\n- [ ] List own orders\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMostroP2P%2Fmostro-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMostroP2P%2Fmostro-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMostroP2P%2Fmostro-cli/lists"}