{"repo":"lnp2pBot/bot","free":true,"listed":false,"github":"https://github.com/lnp2pBot/bot","clone":"git clone https://github.com/lnp2pBot/bot.git","description":"Peer-to-peer lightning network telegram bot","language":"TypeScript","stars":293,"topics":["bitcoin","telegram-bot","bot","telegram","lightning-network"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"LNp2pBot Telegram bot that allows people to trade using lightning network with other people on telegram, this is an open source project and anyone can create issues, submit a PR, fork it, modify it or create their own bot with the code. Try it out! Website: lnp2pbot.com Bot: @lnp2pBot Main channel offers: @p2plightning Wherever you are you can start using the bot, just need to have a telegram account with a username and /start the bot. --- LNp2pBot is being developed on nodejs and connects with an LND node, we wanted that the telegram bot be able to receive lightning payments without being custodial, after some thinking we decided to use hold invoices for it, the bot only settle seller invoices when each party is ok with it and right after that moment the bot pays the buyer's invoice. Creating a sell order 1. Alice tells to the bot that she wants to sell 5000 sats for n fiat amount. 2. The bot publishes a sell order of 5000 sats on the bot channel. 3. Bob accepts the order for 5000 sats sending a new lightning invoice to the bot. 4. The bot send to alice a hold-invoice, Alice has to pay a hold-invoice of 5000 sats to the bot, this invoice is \"pending\", the money is not accepted or rejected by the bot at that moment. 5. After the bot detects that Alice paid the invoice, the bot puts Alicia in contact with Bob. 6. Bob sends the fiat money to Alice and tells to the bot that the fiat money was sent to Alice. 7. When Alice confirmed that she received the money, the bot settles Ali","default_branch":null,"files":null,"tree":[],"storefront":"/r/lnp2pBot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lnp2pBot/bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}