Project moved to https://github.com/silkroadnomad/deContact/
- Alice: Enter your own address (and store it locally in your browser storage)
- Bob scans the QR-Code of Alice (QR-Code contains Alice username)
- Bob requests a Alice vCard via Waku (Alice subscribed on Waku-Network)
- Alice sends her vCard
- Bob stores vCard in localstorage currently deleted
Browser A)
- under Settings->identity set your name (e.g. Alice) (this is planed for a DID!)
- under MyAddress add Alice own address and mark own address
Browser B)
- under Settings->identity set other name (e.g. Bob)
- under MyAddress add Bobs own address and mark own address
Browser A)
- under Contacts type "Bob" and click on "Scan Address"
Result: Address of Bob should be added automatically on Alice address book
Deployment
-
build projects, fix paths and deploy on ipfs node
- npm run build Basics
-
if Bob requests Alice address he sends his public key so Alice can encrypt
- [] Before sending request Bob subscribes to Alice TOPIC (TOPIC = Alice pubkey)
- Alice collects Bob's pubKey in her subscriber list
- Alice sends her pubKey and a signature with her address/contact data to Bob
- Bob verifies Alice signature over her contact data
-
if Alice updates her address, she sends an update-address command to each element in her subscriber list
- Bob request address again
- test offline behaviour of recipient.
-
encrypt contact data with publicKey of recipient (so others can't sniff contact data)
-
add confirm modal when requesting address from Bob
-
add checkbox "send my own address"
-
add confirm notification on Bob when send-address request arrives - optionally add Address of "Alice"
-
add confirm notification on Alice when deliver-address message arrives to add address
-
test Waku-Feature "ephemeral: messages"
-
store local address book in a local first db (e.g. OrbitDB) so it is replicating with peers with same identity
-
refactor network operations to be used with / create new branch for:
- Peer-to-peer & Local First
- LibP2P local first / p2p see p2p-playground
- Automerge: https://automerge.org/
- Plain IPFS (store vcard on ipfs / ipns / ipfs.cat every address from time to time)
- Peer-to-peer & Non Local First
- Nostr: https://nostr.com/
- Peer-to-peer & Local First
- 30.12.2023 fix adding full address attributes
- 30.12.2023 adding progressbar with state