Welcome to the Identity.com On-chain Identity Gateway monorepo.
This repository focuses on the Solana blockchain, but other implementations, as well as cross-chain features, are coming soon.
On-chain applications require users to present a Gateway Token, which proves that they have been verified by a Gateway Provider to use the dApp. This token is tied to their wallet and is non-transferable.
This repository contains a number of libraries, which combine to define the on-chain gateway protocol.
Inside each chain’s directory (e.g. solana/) are the following libraries:
|http-client||Used by dApp developers to discover and use gateway tokens and to interact with gatekeepers||npm|
|gateway-ts||Wrapper library for the blockchain smart-contract or program||npm|
|integration-lib||Used by on-chain program or smart-contract developers to restrict the contract to authorised users only|
|program||The source-code for the gateway program or smart-contract|
|gatekeeper-lib||Used by gatekeepers to allow them to issue gateway tokens on the chain.||npm|
Follow the steps in solana/integration-lib to add gateway functionality to your dApp
Follow the steps in solana/client to integrate the client library into to your dApp’s client library and/or UI.
If you are interested in becoming a gateway provider, and issuing gateway tokens, please contact us at firstname.lastname@example.org