Tutorial

Run example app

Setting up the example app

Clone the repository

git clone https://github.com/zippiehq/did-examples

Install dependencies

yarn install

Run the example app

yarn start

What is in the example app

Sign up

Sign up is an action to register yourself for a new account in the example app. During sign up, you are required to fill your username which should be unique, email and password as shown below:

Sign Up

Sign in

Sign in simply means to validate the user like authenticating the user. It means the user is identified and authenticated to access the example app where he/she is already registered. During sign in you are required to fill your username and password.

Once the user has signed up correctly it is also automatically logged in, and a page with basic user information is being shown on the screen. The data shown mainly indicates information regarding the cryptographic identity of the user and it’s accessible only within the app, the Public key field should be used as an equivalent of a user ID in order to authenticate the user within the Application functionalities.

"derive": path derivation for the current (hierarchical deterministic) cryptographic key

"publicKey": current public key for the logged-in user

"extendedPublicKey": extended public key that allows further key derivation if needed without knowing the private key

Sign In

For more information read here how to integrate the DID sign-up/sign-in within an existing web2 style app