A simple and private bitcoin exchange
Go to file
Reckless_Satoshi ac24c310c5
Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432)
* Add Versioner rpc, use versioner for LND get_version, refactor macaroon

* Move LND specific rpc calls from the follow-invoices thread to LNNode

* Move LND specific rpc calls from tasks to LNNode
2023-04-22 18:54:03 +00:00
.github Fix conflicting release workflow ids 2023-04-10 10:38:42 -07:00
api Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432) 2023-04-22 18:54:03 +00:00
chat Add notification for new in-app chat messages (#403) 2023-03-27 09:37:36 +00:00
control Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
docker Bump lnd dev container to v0.16.0-beta 2023-04-03 07:41:33 -07:00
docs Bump commonmarker from 0.23.8 to 0.23.9 in /docs (#420) 2023-04-12 22:55:45 +00:00
frontend Improve preliminary sats summary, add taker satoshis (#429) 2023-04-21 11:10:47 +00:00
mobile Bump to v0.4.3 2023-04-10 10:27:10 -07:00
nodeapp Fix dockerized frontend dev setup. Add example nodeapp docker-compose. 2023-03-11 11:36:22 -08:00
robosats Allow all cors origins (#407) 2023-04-02 20:55:42 +00:00
.dockerignore Make robosats setup easies (#212) 2022-08-15 10:44:54 +00:00
.editorconfig Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
.env-sample Add notification for new in-app chat messages (#403) 2023-03-27 09:37:36 +00:00
.flake8 Conform to pep8 rules (#295) 2022-10-20 20:53:51 +00:00
.gitignore Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432) 2023-04-22 18:54:03 +00:00
.pre-commit-config.yaml Add App context (#369) 2023-02-24 19:17:13 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-07-23 14:50:31 +00:00
CONTRIBUTING.md Add pre-commit to CONTRIBUTING.md (#305) 2022-10-25 17:51:27 +00:00
docker-compose.yml Move db and i2p config to /node 2023-04-15 04:23:43 -07:00
Dockerfile Add grpc generation script and update setup.md to run it using docker container (#209) 2022-08-12 16:29:27 +00:00
generate_grpc.sh Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432) 2023-04-22 18:54:03 +00:00
LICENSE Add concept for BTC <> Fiat p2p swap using Lightning. 2022-01-01 07:28:49 -08:00
manage.py Re-format all python code 2022-02-17 11:50:10 -08:00
pyproject.toml Python files style cleanup (#281) 2022-10-20 09:55:24 +00:00
README.md Added new How To guide (#349) 2023-02-12 14:46:58 +00:00
requirements.txt Fixes "no robot", add launchers on Android. (#411) 2023-04-09 18:48:25 +00:00
setup.md Fix dockerized frontend dev setup. Add example nodeapp docker-compose. 2023-03-11 11:36:22 -08:00
version.json Bump to v0.4.3 2023-04-10 10:27:10 -07:00

RoboSats - Buy and sell Satoshis Privately

Coordinator CI Frontend Build release AGPL-3.0 license Telegram

RoboSats is a simple and private way to exchange bitcoin for national currencies. Robosats simplifies the peer-to-peer user experience and uses lightning hold invoices to minimize custody and trust requirements. The deterministically generated avatars help users stick to best privacy practices.

Try it out!

Bitcoin Mainnet

Always use Tor Browser and .onion for best privacy. The Clearnet URL redirects to a third party Tor2web service. Your privacy cannot be guaranteed to be respected. Use clearnet only to check around the app, never use for trading!

How to use it

https://user-images.githubusercontent.com/90936742/167310017-dc211a05-dd5e-4ef4-b93f-250f80bc5bca.mp4

Written guides

Video guides

How it works

Alice wants to buy satoshis privately:

  1. Alice generates an avatar (AdequateAlice01) using her private random token.
  2. Alice stores safely the token in case she needs to recover AdequateAlice01 in the future.
  3. Alice makes a new order and locks a small hold invoice to publish it (maker bond).
  4. Bob wants to sell satoshis, sees Alice's order in the book and takes it.
  5. Bob scans a small hold invoice as his taker bond. The contract is final.
  6. Bob posts the traded satoshis with a hold invoice. While Alice submits her payout invoice.
  7. On a private chat, Bob tells Alice how to send him fiat.
  8. Alice pays Bob, then they confirm the fiat has been sent and received.
  9. Bob's trade hold invoice is charged and the satoshis are sent to Alice.
  10. Bob and Alice's bonds return automatically, since they complied by the rules.
  11. The bonds would be charged (lost) in case of unilateral cancellation or cheating (lost dispute).

Contribute to the Robotic Satoshis Open Source Project

Check out our Contribution Guide to find how you can make RoboSats great.

Developer Rewards

Check out the Developer Rewards Panel for tasks paid in Sats.

Sponsors

Inspiration

The concept of a simple custody-minimized lightning exchange with hold invoices is inspired in P2PLNBOT by @grunch

License

The Robotic Satoshis Open Source Project is released under the terms of the AGPL3.0 license. See LICENSE for more details.