Commit Graph

1982 Commits

Author SHA1 Message Date
Reckless_Satoshi
d037506138
Handle auth and welcome back for existing users 2022-01-03 01:06:51 -08:00
Reckless_Satoshi
80e0ca46fb
add login/logout, validates 1 order max, delete method for user 2022-01-02 17:38:48 -08:00
Reckless_Satoshi
225c142cd9
Style avatar css 2022-01-02 14:50:49 -08:00
Reckless_Satoshi
928d0b4796
Fix git merge conflict due to ammending pushed commit 2022-01-02 14:34:25 -08:00
Reckless_Satoshi
790e96cc1b
Improve user generator UX. Still a bit buggy. 2022-01-02 14:31:19 -08:00
Reckless_Satoshi
d7979086ed
Improve user generator UX. Still a bit buggy. 2022-01-02 13:41:22 -08:00
Reckless_Satoshi
f4644836d3
Connect UserGenPage to API. Base 32 string seems to pass quality checks, shorter do not. 2022-01-02 10:27:40 -08:00
Reckless_Satoshi
fb9fb88ab7
Implement user generator page frontend with client-side token generation
Uses crypto.getRandomValue() that at least should provide cryptographically strong random
2022-01-02 10:05:20 -08:00
Reckless_Satoshi
354e7fc5c7
Create user generation API
Endpoint request contains a token. Server checks whether it has enough entropy to be secure (at least 128 bits and >0.7 shannon heterogeneity). Server hashes the token (once as of now) and derives nickname and robohash avatar (goes into static/assets/avatars). Nickname is limited to only adjectives, nouns and 3 digits, restricted to 18 characters long max. The corpus of nicknames is 20 billion big (maybe not enough? nick collision chance can happen, but server will just reply with 400 unless the token matches perfectly too)
2022-01-02 09:15:09 -08:00
Reckless_Satoshi
f0ac03e519
Add nick generator and robohash avatar generator 2022-01-02 07:19:49 -08:00
Reckless_Satoshi
9c44e84ffa
Merge pull request #12 from Reckless-Satoshi/order-details-page
Order details page. Fixes #9
2022-01-02 13:41:41 +00:00
Reckless_Satoshi
6d6072777b
Merge branch 'order-details-page' of github.com:Reckless-Satoshi/robosats into order-details-page 2022-01-02 05:39:16 -08:00
Reckless_Satoshi
c71d95ccd0
Rename boolean explicit for is_explicit/isExplicit 2022-01-02 05:38:45 -08:00
Reckless_Satoshi
64cac32936
rename boolean explicit for is_explicit/isExplicit 2022-01-02 05:35:31 -08:00
Reckless_Satoshi
c4b625a993
Fix order detail page view. Add explicit to model as pricing method boolean explicit/relative 2022-01-02 05:24:35 -08:00
Reckless_Satoshi
298efc394b
Create order detail API endpoint, create order page. Not fully working yet 2022-01-02 04:59:48 -08:00
Reckless_Satoshi
012a7add8a
Merge pull request #11 from Reckless-Satoshi/add-payment-method-field
Add payment method field
2022-01-02 09:41:41 +00:00
Reckless_Satoshi
e087d0b686
Add payment method field 2022-01-02 01:40:19 -08:00
Reckless_Satoshi
9335e6abbe
Merge pull request #6 from Reckless-Satoshi/initialize-frontend-and-create-first-pages
Initialize frontend, create React app, routing, urls and preliminary make order page.
2022-01-02 00:46:52 +00:00
Reckless_Satoshi
fe1ee48a9d
Add main.js to .gitignore 2022-01-01 16:45:26 -08:00
Reckless_Satoshi
27429bba21
Create frontend for order making 2022-01-01 16:37:04 -08:00
Reckless_Satoshi
1105f70f20
Create components, urls and homepage routing 2022-01-01 16:19:18 -08:00
Reckless_Satoshi
e83f0295a5
Build frontend app test page using React 2022-01-01 15:58:44 -08:00
Reckless_Satoshi
44ddaef23b
Fix order view arguments 2022-01-01 15:06:47 -08:00
Reckless_Satoshi
1f756fed09
Add frontend app 2022-01-01 15:05:55 -08:00
Reckless_Satoshi
d5d706b99d
Merge pull request #4 from Reckless-Satoshi/make-order-api-endpoint
Implement initial API with MakeOrder endpoint.

Has Order model and post-only view.
2022-01-01 22:44:33 +00:00
Reckless_Satoshi
76a45bc8d5
Create API endpoint for POST make order
Added the Order model with a rough approxiation to the fields needed. The field status can be read lineally as the progression trough the app pipeline. The view serves POSTs requests to enter new orders into the db.
2022-01-01 14:40:08 -08:00
Reckless_Satoshi
6b8b8c4511
Create api django app 2022-01-01 14:13:27 -08:00
Reckless_Satoshi
95e87306b2
Merge pull request #2 from Reckless-Satoshi/initialize-django
Initialize the Django project and write setup guide
2022-01-01 18:59:21 +00:00
Reckless-Satoshi
97ae2056e5
Initialize the Django project and write setup guide 2022-01-01 10:53:17 -08:00
Reckless_Satoshi
7cdf4bc781
Update README.md 2022-01-01 17:29:05 +00:00
Reckless-Satoshi
2e3a32705b
Add concept for BTC <> Fiat p2p swap using Lightning.
- Motivation
    1) It is widely recognized that one of the main attack vectors for the Bitcoin network is the ability of states to control the fiat on/off-ramps.
    2) While there exists peer-to-peer alternatives to centralized exchanges, these are rather technical, slow and more costly.
    3) Most users prefer the convenience of a centralized exchange at the cost of a difficult of the risk for their privacy and a difficult initial setup (ID, selfie-video, etc).

- Opportunities
    Using the Lightning Network and hodl invoices it is possible to create a more user friendly, faster and cheaper peer-to-peer market. This vision was first enacted by @grunch on the p2plnbot telegam bot project.

- Challenges
    1) Ideally the seller hodl invoice and the payment to the buyer invoice would be atomic. Given that this is not technically possible, the proposed concept relies on the need of trust on the service provider.

There are reasons to believe that challenging centralized solutions both in user experience and cost is possible.

This commit adds a rough concept for thefrontend, backend and design.
This project, tentatively named RoboSats (short for Robotic Satoshis) and licensed at launch under AGPL3.0.
2022-01-01 07:28:49 -08:00