← Back to home

Hiraishin

DePIN Find Pets Network. Bringing Lost Pets Home with Blockchain and AirTag Technology.

Screenshots

Hiraishin screenshot 1
Hiraishin screenshot 2
Hiraishin screenshot 3
Hiraishin screenshot 4
Hiraishin screenshot 5

Problem Statement

| Slogan: "Helping Your Furry Friends Find Their Way Home"Imagine a world where losing your beloved dog doesn't mean losing hope. Our innovative project leverages the principles of Apple’s AirTag technology combined with the security of blockchain to create a community-driven network for locating lost pets.Problem Statement:High Incidence of Lost Pets: Losing a pet is a common and distressing experience for many pet owners. The current methods for finding lost pets, such as posting flyers or relying on social media, are often inefficient and ineffective.Lack of Real-Time Tracking: Traditional methods lack real-time tracking capabilities, making it difficult to pinpoint the exact location of a lost pet. This delay can significantly reduce the chances of finding the pet quickly and safely.Limited Community Involvement: Without a structured system to incentivize community involvement, there is often a lack of motivation for people to actively participate in searching for lost pets. This limits the potential for a coordinated and effective search effort.Solution:Blockchain-Enabled Tracking Network: Our solution utilizes a blockchain-based network to securely and accurately track lost pets. By leveraging Apple’s AirTag technology and combining it with blockchain, we provide a robust and tamper-proof system for real-time location tracking.Real-Time Updates and Encryption: The system uses homomorphic encryption to ensure that location data is securely transmitted and stored on the Inco blockchain. Users can report sightings and update the pet's location in real-time, significantly improving the chances of a swift reunion.Incentivized Community Participation: To foster active community involvement, we implement a rewards system within the app. Users earn rewards for contributing to the search efforts, creating a motivated and engaged network of pet lovers dedicated to bringing lost pets home.

Solution

How It Works:Public Key Generation and Data Storage:Utilizing private keys stored in iCloud Keychain, the system generates public keys for the next 48 hours. Apple use P224 and counter to generate a public and lookup key. These public keys are securely stored in the Data Available Layer (DA), ensuring they are unique and leak-proof.Homomorphic Encryption and Location Updates:Final location data is encrypted using homomorphic encryption and uploaded to the INCO blockchain. If a match is found in the DA, the latest location can also be updated and uploaded by other users.Meet ProblemSome user cannot generate gena, but can use v_Data to extract the private key, follow my gist to solve this problem https://gist.github.com/kidneyweakx/bc994984c77654986eb978ca489a443cHow to use this package| hiraishin is a monorepo managed usingturbo. You can find the source code for each package in theappsandpackagesdirectory.appsfindmydog: a python lib to find ur doglocation-da: DA part to send data to availweb: frontend to make user to update location or get rewardStep By Stepfindmydogcd apps/findmydog chmod +x ./extract_key.swift ./extract_key.swift ### Copy ur devices to plist cp xxxx.plist ./decrypted.plistPython partpoetry install # Need to jump to step 2 to run an avail server poetry run python publickey_gen.pyavail servercd apps/location-da pnpm run avail npx ts-node ./src/app.tscontractnpx hardhat deploy:enc --network inco

Hackathon

ETHGlobal Brussels

2024

Prizes

  • 🏆

    Open Innovation2nd place

    Inco Network

Contributors