GithubHelp home page GithubHelp logo

silkroadnomad / js-decontact Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 547 KB

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

Home Page: https://decontact.xyz

License: MIT License

JavaScript 100.00%
did helia ipfs libp2p orbitdb

js-decontact's People

Contributors

silkroadnomad avatar

Watchers

 avatar

js-decontact's Issues

ContactForm integration

npm i js-decontact

can be added to React, Svelte or Vue projects which implement a standard contact form.

Here it should:

  1. Open my address book (if available or create a new one)
  2. Request the businesses address (via DID) and write it into the users decontact address book
  3. In Return business websites address book should request the website users address (this can only happen if the user already stored it - or we add dummy address upon loading the address book first time, which is going to be updated as the website user saves it.)
  4. Step 1 to 3 applies only if a user doesn't have a deContact address book!

If the website user has already a decontact address book, in the contact form two buttons will be displayed

  • store businesses contact data (Alice) in my address book and follow (we do requestAddress call)
  • send my contact data, a new sendAddress call which sends the contact data (form data) to a DID

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.