Haven1
  • Get started
    • 🧑‍🚀Welcome Havenauts!
    • 📄Haven1 Litepaper
    • 🧮H1 Tokenomics
  • Foundations of Haven1
    • 📐Architecture & network design
    • 🔐Network-level security
    • 📚Haven1 Core protocols
    • 💱Best in class liquidity
    • 👮Network Guardians: Firewall on Haven1
    • 🌉hBridge: Intro to Haven1 Bridge
  • Learn
    • 💵What does Haven1 solve?
    • 💡Haven1: Use Cases
    • 📚Understanding GoQuorum
    • 🔤Haven1 Blockchain basics
    • 🛂KYC policies on Haven1 blockchain
    • Security at Haven1
    • 🔓What is esH1?
    • ⚖️Dispute resolution mechanism
    • 🛣️Haven1 Roadmap
    • 🖥️Haven1 is EVM compatible
  • Products
    • 🔃hSwap - Spot DEX on Haven1
    • 📍hsETH on Haven1
    • Earn on Haven1
    • 🛡️2FA Wallet Shield
    • 🧊Haven1 block explorer
    • 🏛️Governance & veH1
    • 🆔hPassport - Key to Haven1
      • Advantages of having ID verification at a network level
      • Understanding the ID Verification Process
    • 💼Vesting esH1 - Converting esH1 to H1
    • 📍Staking H1 & esH1 - Earning rewards on your H1 holdings
      • Flexible Staking
      • Locked Staking
  • hPerpetuals - Perps DEX on Haven1
  • Haven1 Guides
    • 🔗Quick links
    • ✅Haven1 onboarding Guide
      • 🪪KYC Guide
      • Business KYC(KYB) Guide
    • Adding multiple wallets to a hPassport
    • 🌉Simple Bridging Guide on Haven1 network
    • 🏠Haven1 Portal - Your Gateway into Haven1
    • 🔑2FA Set up Guide
    • 🤑Haven1 Airdrop: Claim Process and Strategies
    • Claim Process Walkthrough on Team Finance
    • 📄Contract Addresses
  • Build
    • 📖Getting started
    • 🌐Haven1 Network information
    • 🍦Novel developer benefits on Haven1
    • 📑High level guide for secure deployment
    • ⚙️Detailed deployment Guide
    • 🧰Developer tools
      • 👛Haven1 Gnosis Safe wallet
      • 🛠️Haven1 SDK
        • 🔌@haven1/sdk-api-client
          • Class: Haven1SDK
          • Class: AuthModule
          • Class: SdkModule
        • ⛓️@haven1/blockchain-sdk
          • Contracts
        • 🧰@haven1/wagmi-sdk
          • Constant Module
            • Variable: haven1Devnet
            • Variable: haven1Testnet
            • Variable: H1
          • Contract Module
            • ProofOfIdentity
            • ProofOfIdentityV2
            • NativeAppFee
          • Utility Module
            • bigIntMax
            • formatBigint
            • bigintFromDecimals
          • Hook Module
            • useWatch
            • useBalance
            • useApproveERC20
            • useContractWrite
        • ⚛️@haven1/react-sdk
          • useHaven1SDK
          • useAuth
          • useIdentity
          • useNotifications
          • useOTP
          • useSignIn
        • 📜Use cases & Examples
          • Adding the Notification Component to Your React UI
          • Check Proof of Identity (POI) Status
      • Oracles on Haven1
      • Subgraph on Haven1
      • Haven1 block explorer
      • Web3 libraries and tools
    • Development frameworks
    • 🔐Using hPassport in Your dApps
      • Integrating hPassport into Your dApp
      • Implementing Identity Checks in Smart Contracts
        • Country codes
      • Sample Application - Country ID
      • Sample Application - Composable verification level
      • Sample Application - User type
      • Repository Information
    • ⛽Application fees
      • FeeContract.sol
      • Example FeeContract Interactions
      • Case Studies
    • 👷Builders grants program
  • Additional resources
    • 📚Haven1 terminology
  • Quick Links
    • Website
    • Twitter
    • Blog
    • Telegram
    • Customer Support
Powered by GitBook
On this page
  • Overview
  • Key Benefits of Integrating hPassport
  • hPassport Case Studies
  • Case Study 1: Blockchain-Based Tokenized Property Transaction Platform
  • Case Study 2: Implementing Treasury Bills (T-Bills) on Chain
  • Case Study 3: Education and Certification Platform
  1. Build

Using hPassport in Your dApps

Learn how to integrate Haven1's hPassport for secure, verified user interactions in your dApp. Enable identity verification, personalised user experiences, and enhanced security using hPassport NFTs

PreviousDevelopment frameworksNextIntegrating hPassport into Your dApp

Last updated 6 months ago

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 dApp 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 dApp, 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 dApp, 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 issueIdentity 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 getCountryCode 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 issueIdentity 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 getUserType to ensure participation was limited to verified institutional investors.

  • Applied getCompetencyRating 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 issueIdentity 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 getBoolAttribute 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.

🔐
What is hPassport?
Direct link to sample applications that personalise UX based on hPassport