What is Nostr?
negrunch /
npub1qqq…rfkq
2024-01-26 19:48:38

negrunch on Nostr: 🚨 HOW TO TEST MOSTRO? 🚨 - You must have a Nostr profile, and a lightning ...

🚨 HOW TO TEST MOSTRO? 🚨

- You must have a Nostr profile, and a lightning network wallet
- Until now there are two clients to test: a web client, and mostro-cli which is a command line interface tool
- Everything is Open Source, you can find all code repositories here: https://github.com/MostroP2P

🎯 Web client

https://mostro.bilthon.dev/

- You must logging with your Nostr Signer Extension (nip 07), if you don't have one https://getalby.com is a great one
- Then you can create or take orders, and continue the instructions, it is very intuitive!

💻 Mostro-cli

1) Install Rust (https://www.rust-lang.org/tools/install)

2) Install OS dependencies (debian and debian flavors)

```bash
$ sudo apt update

$ sudo apt install -y cmake build-essential pkg-config libssl-dev
```

3) You must set the environment variables NSEC_PRIVKEY, MOSTRO_PUBKEY and RELAYS. This is one way to do it:

```bash
$ export NSEC_PRIVKEY=nsec1.... (Your nsec)

$ export MOSTRO_PUBKEY=npub1ykvsmrmw2hk7jgxgy64zr8tfkx4nnjhq9eyfxdlg3caha3ph0skq6jr3z0

$ export RELAYS='wss://nostr.bilthon.dev,wss://nostr.wine,wss://btc.klendazu.com,wss://nos.lol,wss://relay.damus.io,wss://nostr-pub.wellorder.net'
```

4) If everything is ok you will see the Mostro orders if you write:

$ mostro-cli listorders

⚡️ Example to create a sell order in mostro-cli:

$ mostro-cli neworder -k sell -c usd -f 1 -m cash

👨‍💻 Mostro is FOSS, please you are welcome to contribute whit this Bitcoin p2p exchange without KYC to help all bitcoiners and Nostr users

📄 If you are a developer and want to create your own client, you can follow the development documentation here:

https://mostro.network/messages/

Happy Mostring!
Author Public Key
npub1qqqqqqqx2tj99mng5qgc07cgezv5jm95dj636x4qsq7svwkwmwnse3rfkq