Features Validator v1

owner view public view

Authentication

  • the user is going to be prompted to connect their wallet when a domain page loads
  • if a user disconnects their wallet while they own the page
    • then the text which shows the address at bottom will change to “Connect your wallet”
      • shown below
      • image
      • if there is a wallet not connect the “Connect your wallet” text should appear

Profile Picture

  • on /new the user will have the default profile picture (like we did in profiles)
    • the user is able to click

Tips / Donations

  • when a user clicks on the donate button the user will be prompted for MetaMask authorization if they are not already authorized
    • a popup will appear when the user clicks the donate button and is authorized with MetaMask
      • the user can type in the number of ONEs they want to donate
        • click donate which will prompt MetaMask to complete the transaction

Domain Name

  • will be a series of colors/gradients based on the tier of the domain
  • Domain Tiers:
    • Reserved - 1 character domain
      • will be shown as Reserved
    • Legendary - 2-3 character domain
      • price will display as
    • Rare - 4-7 character domain
    • Common - 8+

Bio

  • 150 character limit
  • same as we had in profile
    • should be editable by the owner when their wallet is connected

Social Links

  • a user is able to type in any profile link into the search bar
    • based on the link that is typed in a logo for the social media icon will populate

url search

  • will only the user who owns the domain be able to see the search bar

url card

  • the user should be able to put in any url and a card would be generated for them

staking dashboard / explorer dashboard

  • a user types in their wallet address into the search bar
    • check if they have a staking dashboard
      • talking with yuriy about if we can have an sdk for staking dashboard
      • their staking dashboard data should be displayed
  • if they dont have a staking dashboard address then their 3 most recent transaction hash’s can be displayed
    • title can be ‘Transaction Details’
      • below that we can just show the hash of the 3 most recent transactions
        • the hash would be a link that would take them to explorer

verification tx

  • show the rented domain
  • date and time of renting domain
  • show domain tx from explorer on page

Process to claim a domain

  • a user will navigate to 1.country
    • type in the domain they would like to register
    • click on register
    • in the backend the contract will be called to generate the top-level domain certificates and an ERC-721
  • navigate to /new page
  • navigate to users registered domain

NFT creation for domain

  • when a domain is claimed an NFT is also generated for it
    • every .country domain has an HRC-721 linked to it
      • when a domain expires there is a contract call and harmony will own the domain after
      • the nft of the domain will be burned and needs to be minted again
  • the NFT should be visible in MetaMask (matty talk to them)

Integration with NFT Key (or have /marketplace)

  • need to create dynamic title and preview
    • preview will contain the image of