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

NFT Gate #4

Open
franswan opened this issue Oct 15, 2022 · 0 comments
Open

NFT Gate #4

franswan opened this issue Oct 15, 2022 · 0 comments

Comments

@franswan
Copy link
Member

franswan commented Oct 15, 2022

A NFT license is only required to create Provider Peers. The gating of access does not refer to gaining entry to the application. A consumer may use the application without an NFT for example. Anyone for that matter can login and the only place they will be prompted to provide a NFT license is when coming to the Create New Provider screen.

New Provider Peer

  • Check connected wallet for NFT license(s).
  • Check from User's already existing Peer records for assignment of licenses by unique ID and disclude from list of available licenses to assign to a new Peer. A license can only be used once per Peer and is stored in that Peer record in the database.

Example of choosing available license from connected wallet on a Create Provider screen:
Screen Shot 2022-10-14 at 8 40 19 PM

  • Write the unique ID of NFT to the Peer record

Summary

We will need to read from the wallet/chain and also read/write to the database. There is no writing to the chain. Do they have an unused NFT and if so allow them to assign it to a new Peer and we record this.

Settlements Implications

When reporting settlements we will check for any removed NFT license and subtract the time from which it was removed (changed wallets) from the total time in that reports time period.

Provider Usability

The user will be responsible for holding their NFTs they have assigned to their Peers and unless we poll the chain constantly they will have no notice from us that their Provider Peer is no longer assigned it's license and therefore not actively benefiting as a Provider accruing settlement rewards. This should be addressed in another ticket but it not a requirement for this one

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