Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silkroadnomad/js-decontact
An address book peer-to-peer protocol built on Libp2p, Helia and OrbitDB
https://github.com/silkroadnomad/js-decontact
did helia ipfs libp2p orbitdb
Last synced: 8 days ago
JSON representation
An address book peer-to-peer protocol built on Libp2p, Helia and OrbitDB
- Host: GitHub
- URL: https://github.com/silkroadnomad/js-decontact
- Owner: silkroadnomad
- License: mit
- Created: 2024-02-19T09:23:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-18T03:50:18.000Z (10 months ago)
- Last Synced: 2024-04-29T16:08:36.264Z (8 months ago)
- Topics: did, helia, ipfs, libp2p, orbitdb
- Language: JavaScript
- Homepage: https://decontact.xyz
- Size: 534 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-decontact
An address book peer-to-peer protocol and local first smart contract built with Libp2p, Helia and OrbitDB## Features
0. DID wallet (via seed phrase)
1. Alice requests address from Bob via DID
- Alice gives write permission to Bob
- Bob writes his contact data into Alice' address book
2. Bob is moving to a new city or country (contact data are changing)
- Bob automatically updates Alice's address book with his data
3. Auto-Sync of own devices with same seed phrase
- Having the same seed phrase on different devices results into auto replicated address books.
4. Restore all contacts from people who backuped up my data## Todo
- [x] integrate into deContact.xyz
- [ ] confirm dialog still missing in handleMessages (via event dispatch)
- [ ] DID from seed phrase
- [ ] Encryption
- [ ] alternative PublicKey for browser in combination with DIDIdentityProvider
- https://github.com/orbitdb/orbitdb/blob/main/test/identities/identities.test.js
- Test Bob-Bot
- start test-bot-node with fix DID
- answer automatically with address (write into Alice (requester) DB)
- [ ] browser based distributed storage protocol
- [ ] optional blockchain based handles
- [ ] optional blockchain based DIDs (Bitcoin, Doichain, Namecoin)## Usage
```
npm i decontact
```## Test
1. Clone this repositoty
```
npm install
npm test
```