Edit

Helping you build User Centric Apps on Blockchains

uPort is a collection of tools and protocols for building decentralized user-centric applications. It is built on open standards and open source libraries.

Onboarding a user to your dApp

Typically, on boarding new users to dApps is a challenging process. Before they sign up to your app they must first:

  • Download a wallet
  • Understand what a seed is and store it somewhere safe
  • Buy Ethereum on an exchange
  • Understand numerous new concepts
  • Now finally remember to come back to your dApp to sign up

Developing Decentralized Apps is already difficult. Convincing users to try your dApp, create a transaction, and return again and again is even harder. As a developer you want Users that are active and come back to your Application. To be successful developers need to build a long-term relationship with them and their data.

As a developer you want Users that are active and come back to your App.

uPort enables developers to on board their users in a simple and frictionless manner, allowing users to take control over their identities and Ethereum transactions. Most Ethereum development libraries don't have the concept of a user.

As a developer, you can implement uPort to help users build their sovereign identities.

What is Identity?

Users are represented as Ethereum addresses but behind those addresses are actual people with interactions and reputation that forms a digital identity when considered together.

A individual's digital Identity is dynamic and constantly changing because they interact with many apps, services, and institutions everyday.

An identity is not just based on what others say about them, but also on the things they do. Their interactions with other people, businesses, and blockchains all form part of who they are and how they choose to represent themselves for future interactions.

Developers can interact with this data by asking for consent and requesting identity datum.

Help your user build their Identity

A uPort identity is built using verified data. Every interaction, request, response, and transaction a user performs helps improve the value of their identity.

As a developer, you can help your users and build a long-term relationship with them by verifying data about them and their interactions with you.

But all I really need is an Ethereum Address!

Maybe this is true strictly from a smart contract point of view; however, from your user's perspective it may not be that simple.

Users want a reason to use your app, not just once but also to come back and feel safe that they are interacting with the same App.

A user's identity is not just based on what others say about them, but also on the things they do. Their interactions with other people, businesses, and blockchains all form part of who they are and how they chose to represent themselves for future interactions.

Having a user sign in builds a connection between them and you. Being able to show their previous activity, helps build trust in your App and encourages them to continue interacting with it.

Asking the user to do something

The core concept of uPort is asking for data about them or for them to do something, such as:

  • Asking for their name
  • Asking for a verification, by a third party, of their name
  • Asking them to sign a verification on behalf of someone they know
  • Asking for their Ethereum Account
  • Asking the user to sign an Ethereum transaction

This whole process is performed by the private exchange of signed messages. As a developer, you sign and encrypt requests for a user. They sign and encrypt responses to you.

Reasons for asking for Identity Data

For developers and businesses in the traditional world there are three major reasons to ask for identity data:

  1. Build a relationship with a user
  2. Authenticate actions by a user
  3. Risk management

The Problem with Centralized Identity Solutions

In a centralized world, different third parties such as social networks and credit agencies record and control this data.

Signing up users in a traditional web or financial app means requesting data from these third parties.

Each third-party effectively runs a silo providing exactly one view of the user's identity. To get a full picture you would have to request data from each one and figure out how to merge them together.

Obviously, for those of us building decentralized technologies, the whole idea that all this data is controlled by third-parties and not by the end user itself is also extremely problematic.

Signing Ethereum Transactions

The real value of Ethereum apps, of course, isn't just in asking them for identity data. You want them to do something. Interact with your smart contracts and/or send funds.

uPort provides a full web 3.0 compatible provider and allows you to call Ethereum smart contract functions from your code, automatically sending the generated function to your user's uPort mobile app for approval and signing. This occurs without any changes to your existing code, besides the initial setup.

Off-chain Data

While uPort works well with on-chain Ethereum transactions, its true strength is being able to exchange private data off the chain.

All of our requests and responses are currently based on industry standard JWTs (RFC-7519), with signatures verified through the proposed Decentralized Identifiers (DIDs) standard from W3C, and the ERC-1056 Lightweight Ethereum Identity standard.

uPort Protocols and Libraries

LayerProtocolLibraryDeveloper Target
User Front EndUport-connect, react-native-uport-connectFront End Devs
TransportuPort transportsuport-transportsBackend Devs
uPort Signed MessagesuPort Messagesuport-credentialsBackend Devs
Signed MessagesJWT RFC 7519did-jwtProtocol Developers
Identity AbstractionDecentralized Identifiers (DIDs)did-resolverIdentity Platform Designers
Identity Public Key LookupERC-1056 Lightweight Ethereum Identityethr-did-resolver
Identity Creation/ManagementEthereum DID Registry Contractethr-didEthereum Identity Wallet Developers
Blockchain APIEthereum JSON-RPCWeb3 or EthJS
BlockchainEthereum

For Fully Decentralized Apps (dApps)

Decentralized Apps live on a combination of the user's web browser and decentralized networks such as blockchains and IPFS.

Having no dedicated server component means that logging in a user is not about authenticating access to a server. It is primarily about setting up a good user interface for your users, so they understand their own history with your app and how to create newly signed transactions.

While it is great for developers not to have a server backend to develop, it also presents many challenges.

  • Where do we store the user's state?
  • How do we communicate with a user?
  • If we have no central user database, how do we connect users together?

Our library – uPort Connect – provides solutions for most of these difficult questions.

For Decentralized Mobile Applications

Mobile Apps are perfect for interacting with Blockchains. They offer the potential of much stronger security and potentially better UX than web-based dApps.

Our React Native version of uPort Connect brings the full power of uPort Connect to your Mobile Apps!

For native developers, our iOS and Android mobile SDK's combined with our HDSigner frameworks (iOS, Android) can be used to handle key management for you.

For Hybrid Applications

Sometimes you still need a few centralized components for your App. In particular, if you need to be able to safely sign data from a verified entity, or if you must have the ability to perform backend data analysis.

For these kinds of applications, use uPort Credentials to sign and verify requests from your users. Communication from your server backend is abstracted through the uPort Transports library.

uPort is built using open standards and simple libraries built on them. We use a layered approach and build as much as possible on existing standards and tools.

Was this article helpful?