Skip to content

NFT Gate #4

@franswan

Description

@franswan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions