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
  • Step 1: Mint an NFT of your countryโ€™s flag
  • Step 2: View your transaction on Haven1 block explorer
  • Significance of the country ID app
  1. Build
  2. Using hPassport in Your dApps

Sample Application - Country ID

The Country ID App is an example application of hPassport, offering a unique approach to regional permissioning

PreviousCountry codesNextSample Application - Composable verification level

Last updated 9 months ago

This guide details how to use the app, enabling developers and builders on the Haven1 network to customize user access based on geographical location, thus adhering to local compliance standards.

Ready to explore?

Step 1: Mint an NFT of your countryโ€™s flag

  1. Select your country's flag: Initiate the process by choosing the flag that corresponds to your country of origin, as verified in Haven1โ€™s network.

  2. Minting process: Click the 'Mint' button to mint the NFT of your country's flag. The Provable Identity Framework guarantees that this NFT is exclusively linked to your verified country of origin, ensuring the authenticity of your digital identity.

  3. Country-specific minting: The system is configured to only allow the minting of your own country's flag, maintaining the integrity of the permissioning process and preventing the minting of flags from other countries.

Step 2: View your transaction on Haven1 block explorer

  1. Transaction confirmation: Once you mint your Flag NFT, the transaction is executed on the Haven1 network.

  2. View on block explorer: Access the Haven1 Block Explorer to track the transaction details, including the secure transfer of your Flag NFT to your wallet.

  3. Unique minting feature: Each Flag NFT is a one-time mint, ensuring its uniqueness and prohibiting repeat transactions.


Significance of the country ID app

Global adaptation and cultural alignment

The app aligns user experiences with regional and cultural specifics, enhancing global adaptation.

Enhanced trust with verification

Utilizes NFTs linked to users' countries of origin, bolstering authenticity and transparency.

Market expansion and international engagement

Simplifies entry into new markets and engagement with an international user base through localized features.

Innovation and connectivity

Acts as a transformative tool in the Haven1 ecosystem, fostering global digital connectivity and expanding the scope of digital applications.

The Country ID App is an innovative tool within Haven1's Provable Identity Framework that seamlessly integrates regional permissioning with blockchain technology. By following this guide, users can efficiently mint their country-specific Flag NFT and utilize the Haven1 Block Explorer to verify transactions, thereby ensuring compliance with regional standards and enhancing their digital identity within the Haven1 network.

๐Ÿ”
Navigate to the Country ID App.