Skip to content

silkroadnomad/js-decontact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-decontact

An address book peer-to-peer protocol and local first smart contract built with Libp2p, Helia and OrbitDB

Features

  1. DID wallet (via seed phrase)
  2. Alice requests address from Bob via DID
    • Alice gives write permission to Bob
    • Bob writes his contact data into Alice' address book
  3. Bob is moving to a new city or country (contact data are changing)
    • Bob automatically updates Alice's address book with his data
  4. Auto-Sync of own devices with same seed phrase
    • Having the same seed phrase on different devices results into auto replicated address books.
  5. Restore all contacts from people who backuped up my data

Todo

  • 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
  • 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

About

An address book peer-to-peer protocol built on Libp2p, Helia and OrbitDB

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published