# Using hPassport in Your hApps

[**What is hPassport?**](/products/provable-identity-framework.md)

[**Direct link to sample applications that personalise UX based on hPassport**](https://testnet.haven1.org/spotlight)

## Overview

**hPassport** is a non-transferable Proof of Identity NFT that verifies user identity on Haven1. It ensures that all on-chain transactions are conducted by trusted and verified users. This system enhances hApp security, enables personalized user experiences, and helps developers create compliant and secure applications while protecting user privacy.

## Key Benefits of Integrating hPassport

* **Verified Interactions**: Ensure only verified users interact with your hApp, minimizing risks and preventing fraud.
* **Personalized Experiences**: Tailor the user experience using anonymized data stored in the **hPassport**.
* **Security**: hPassport enforces identity verification, making it easier to comply with KYC/AML requirements for regulated markets.
* **Easy Integration**: You can verify identities and personalize experiences with minimal code, leveraging Haven1's built-in smart contract framework.

***

### hPassport Case Studies

To begin integrating **hPassport** into your hApp, follow the examples above and explore more API references in this document. You'll find code samples, smart contract functions, and tips for personalizing user journeys with hPassport

### **Case Study 1: Blockchain-Based Tokenized Property Transaction Platform**

**Background**: A platform aimed to facilitate property transactions using blockchain technology, where properties were tokenized as digital assets.

**Challenge**: The platform required a secure and transparent method to verify property buyers and sellers to prevent fraud and ensure legal compliance in property transactions.

**Solution**:

* Integrated <mark style="color:purple;">`issueIdentity`</mark> to verify and authenticate the identities of property buyers and sellers, issuing Proof of Identity NFTs upon successful verification.
* Used smart contracts to handle the transfer of property tokens, ensuring that only verified users could initiate and complete transactions.
* Leveraged <mark style="color:purple;">`getCountryCode`</mark> to ensure compliance with regional real estate laws and regulations, adapting the transaction process based on the location of the property and participants.

**Outcome**: The platform successfully streamlined property transactions, ensuring security, legal compliance, and user authenticity. This approach increased trust in the platform and opened new opportunities for property investment and ownership transfer.

***

### **Case Study 2: Implementing Treasury Bills (T-Bills) on Chain**

**Background**: A financial services company sought to issue and trade Treasury Bills (T-Bills) on a blockchain platform to enhance transparency and accessibility.

**Challenge**: Needed to ensure that only accredited investors could participate in T-Bill transactions, complying with financial regulations.

**Solution**:

* Implemented <mark style="color:purple;">`issueIdentity`</mark> for investor verification, issuing Proof of Identity NFTs to accredited investors after thorough KYC checks.
* Designed smart contracts to manage the issuance, trading, and redemption of T-Bills, incorporating checks such as <mark style="color:purple;">`getUserType`</mark> to ensure participation was limited to verified institutional investors.
* Applied <mark style="color:purple;">`getCompetencyRating`</mark> to rate investors based on their transaction history and financial competency, adding an extra layer of trust and risk management.

**Outcome**: The platform enabled a more efficient and transparent T-Bill market, with enhanced security and regulatory compliance. This innovation attracted a wider range of investors and streamlined the process of investing in government securities.

***

### **Case Study 3: Education and Certification Platform**

**Background**: A blockchain platform aimed to offer and verify educational certificates.

**Challenge**: Needed to ensure that only students who have completed courses could claim certificates and that these certificates were tamper-proof.

**Solution**:

* Implemented <mark style="color:purple;">`issueIdentity`</mark> for students after verifying their academic credentials.
* Used smart contracts to issue blockchain-based certificates as NFTs post-course completion, which were linked to the student's verified identity.
* Applied <mark style="color:purple;">`getBoolAttribute`</mark> to check if a student had completed necessary courses before issuing certificates.

**Outcome**: The platform successfully created a tamper-proof, verifiable system for educational credentials, adding value and credibility to the certifications issued.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.haven1.org/build/provable-identity-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
