Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENS / IYK / Nimi Partnership technical spec and flow #259

Open
adamazad opened this issue Dec 21, 2022 · 0 comments
Open

ENS / IYK / Nimi Partnership technical spec and flow #259

adamazad opened this issue Dec 21, 2022 · 0 comments

Comments

@adamazad
Copy link
Member

Summary

This document describes the requirements of a potential partnership among ENS, IYK, and Nimi.

About IYK

IYK issues physical items — clothes, business cards, etc — that contain an NFC chip. The NFC chip can be scanned with NFC scanners on many smartphones. Similar to how QR codes work, the content of the NFC chip can be a URL.

Each scan results in a URL that can be viewed once. This is done through a secret token attached to the URL. When I refresh the page, the URL, the token is dead and has no value.

User Story

Personas

  • Dave: the founder of Nimi is attending EthDenver 2022. Dave has a special business card with an IYK NFC chip embedded.
  • Adam: an attendee at EthDenver 2022.

Story

Adam and Dave meet during lunchtime. Adam learns more about Nimi and asks for Dave's contact information. Dave shows him his business card and tells him to scan his card. When Adam scans the card with his phone, he's redirected to Dave's Nimi page. Adam can see all the contact information.

Interesting and optional part

Adam now has the option to mint a rare POAP titled "I meet Dave Montali from Nimi at EthDenver 2022". On the Nimi Page, there will be a special button labeled "Mint POAP". When this button is clicked, a modal dialog pops up asking for Adam's ENS name to which the rare POAP is delivered.

When Adam refreshes the page

Remember that IYK's tokens can be used once, so if Adam refreshes the Nimi Page, he will no longer see the "Mint POAP" button. He lost his chance to get the POAP. Of course, he can ask Dave to let him scan his business card again to get another chance to mint the POAP.

Takeaway

  • Adam gets all of Dave's contact information on an easy-to-remember page.
  • Adam gets a POAP.
  • Adam learns about Nimi Pages.

Tech Specs

Nimi

  • Nimi should switch to Next.js to enable SSR. SSR does some heavy lifting of moving most of the logic to the server side. This enables showcasing Nimi pages at https://nimi.io/<ENS_NAME>.eth. For example https://nimi.io/dvve.eth

IYK

  • Upon scanning a business card, IYK redirects to https://nimi.io/<ENS_NAME>.eth?ref=iyk&token=<SINGLE_USE_TOKEN>

ENS

Not applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant