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

Target for non-PHK projection #10

Open
SebastienGllmt opened this issue Jun 7, 2023 · 0 comments
Open

Target for non-PHK projection #10

SebastienGllmt opened this issue Jun 7, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@SebastienGllmt
Copy link
Collaborator

Problem

When the NFT is projected into the game, we need to know which address owns the NFT inside the game

In the PHK case, this is obvious (same person that owns the PHK)

However, in the Owner::NFT and Owner::Receipt case, it's not obvious who owns the projected NFT in the game

Simple solution

For these cases, we will probably need to add an extra key in the datum that encodes who owns these projected NFTs

Complex solution

If we have to add a datum to encode the owner of the project NFT anyway, we may want to consider allowing ownership of the projected NFT to be more flexible. That is to say, right now they can only be owned by a Cardano L1 PKH, but maybe we should generically allow giving permission to a L2/sidechain address (ex: EVM address) or an EVM contract (to support account abstraction), etc.

@SebastienGllmt SebastienGllmt added the help wanted Extra attention is needed label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant