A simple and private bitcoin exchange
Go to file
KoalaSat e4fafad3ce
feat(android): add f-droid page resources (#1270)
* Add Template

* Add app details

* Code Review
2024-05-12 19:58:00 +00:00
.github feat(mobile): signing and prep for android production APK (#1265) 2024-05-05 20:01:19 +00:00
api fix(coordinator): cannot update_or_create with relate named on django v5 (#1263) 2024-05-05 19:58:18 +00:00
chat fix(coordinator): warning on drf serialializer decimal 2024-04-21 22:09:06 +01:00
control Dev: replace isort, black, flake8 with ruff (#1057) 2024-01-09 01:22:50 +00:00
docker Add CLN regtest to integration tests 2023-11-14 13:54:51 +00:00
docs Bump minimal-mistakes-jekyll from 4.24.0 to 4.25.1 in /docs (#1259) 2024-05-05 22:24:58 +00:00
frontend Bump @mui/x-data-grid from 7.3.0 to 7.3.2 in /frontend (#1280) 2024-05-12 19:51:13 +00:00
mobile feat(android): add f-droid page resources (#1270) 2024-05-12 19:58:00 +00:00
nodeapp Refactor Webpacks (#1212) 2024-04-03 05:55:42 +00:00
robosats Return json output instead of html when wrong token in Header Authorization (#1247) 2024-04-29 23:08:46 +00:00
scripts Add timestamp to devfund script 2024-01-23 10:53:16 +00:00
tests Feat: add coordinator opt for geoblocked countries (#1258) 2024-04-29 22:58:03 +00:00
web Refactor Webpacks (#1212) 2024-04-03 05:55:42 +00:00
.dockerignore Add googleapis folder to .dockerignore (lighter coordinator image) 2023-04-23 07:46:19 -07:00
.editorconfig Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
.env-sample Feat: add coordinator opt for geoblocked countries (#1258) 2024-04-29 22:58:03 +00:00
.flake8 Fix weird flake8 mismatch of expectations 2023-11-17 13:02:30 +00:00
.gitignore Generate Builds 2024-04-30 16:03:52 +02:00
.pre-commit-config.yaml Merge branch 'main' into the-federation-layer-v0.6.0 2024-01-22 10:22:33 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-07-23 14:50:31 +00:00
commit_sha Add placeholder commit_sha 2023-05-19 04:45:22 -07:00
CONTRIBUTING_DOCS.md Add docs translation for menus and includes (#1143) 2024-03-03 19:01:26 +00:00
CONTRIBUTING.md Add federation basis and new coordinator form (#793) 2023-08-21 11:30:15 -07:00
devfund_pubkey.json Update devfund node info 2024-01-21 22:09:38 +00:00
docker-compose.yml Refactor contexts and models (#921) 2023-12-02 10:40:59 +00:00
docker-tests.yml Rename backend image to match on dev and test environments 2023-11-20 19:42:31 +00:00
Dockerfile chore(coordinator): bump python to 3.12 2024-04-21 21:52:13 +01:00
federation.md Add programatic order size limit to new coordinators 2024-02-08 00:35:14 +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
package-lock.json Add docs translation for menus and includes (#1143) 2024-03-03 19:01:26 +00:00
package.json Add docs translation for menus and includes (#1143) 2024-03-03 19:01:26 +00:00
pyproject.toml Dev: replace isort, black, flake8 with ruff (#1057) 2024-01-09 01:22:50 +00:00
README.md chore: explain monorepo architecture on readme.md 2024-04-20 20:44:16 +01:00
release_notes.md Update release notes for v0.6.0 2024-03-17 14:54:34 +00:00
requirements_dev.txt fix(coordinator): cannot update_or_create with relate named on django v5 (#1263) 2024-05-05 19:58:18 +00:00
requirements.txt Bump django-import-export from 3.3.8 to 4.0.1 (#1284) 2024-05-12 19:52:25 +00:00
setup.md Simplify coordinator updates, automatic migrations and collect statics (#583) 2023-05-15 09:46:59 +00:00
version.json Bump to v0.5.4 2024-01-22 10:13:11 +00: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!

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!

You can use Testnet Bitcoin by going to the Settings page and switching to Testnet

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 with 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.

RoboSats is a monorepo, arguably a messy one at the moment.

  • The top level is a Django application (the coordinator backend) with apps /api, /control, and /chat. Django settings are in /robosats and /tests has integration tests for the RoboSats backend.
  • The /frontend directory contains the ReactJS client.
  • The /nodeapp directory contains the docker orchestration and utilities for the self-hosted application (Umbrel, StartOS, etc)
  • The /mobile directory contains our React Native app (a wrapper around our ReactJS app in /frontend)
  • The /docs directory has the learn.robosats.com static Jekyll site markdown docs.
  • The /web directory is a light wrapper around our client app /frontend intended to host a RoboSats dex client to be used for the public. We use this one in dex.robosats.com

You can run the whole stack for local development following the instructions in setup.md

Officially mantained docker orchestration for coordinators can be found in the repo robosats-deploy

Developer Rewards

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

Sponsors

Reviews

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.