You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue at present with Impact NFTs when they are transferred out of the wallet:
The UI does not recognise the fact that the user does not have an nft and just shows the tree plus the upgrade / unlock buttons but no text etc explaining things
The mint address of the nft is derived from the address of the person it was created for, and the upgrade program updates the metadata of that particular mint address, so even though the creator no longer has the nft, upgrading their lock account will always update that particular nft.
We should decide, is a lock account intrinsically linked to the NFT or is it intrinsically linked to the owner? Theoretically, we could link it to the NFT, and require that the lock account change hands when the NFT changes hands. This would not happen at transfer time, but if the minter or the recipient go to sunrise, they could be shown a UI that asks them to move the lock account over.
e.g.
Creator has no NFT but has a lock account. Instead of showing Update/Unlock, as now, instead show "You have transferred the impact nft - move the details of your accrued yield to the new owner". This should be the only thing you can do.
Recipient has an NFT but no lock account (so we don't know what the yield is etc). Again show a button "Transfer the accrued yield details from the original owner"
Question - can we replace the lock account with a bunch of on-chain metadata fields? Then none of the above would be needed
The text was updated successfully, but these errors were encountered:
There is an issue at present with Impact NFTs when they are transferred out of the wallet:
The UI does not recognise the fact that the user does not have an nft and just shows the tree plus the upgrade / unlock buttons but no text etc explaining things
You can upgrade an NFT you don't own :)
https://github.com/sunrise-stake/app/assets/5008805/2c51877e-c0be-4782-83f7-98c324586ea4
The NFT was upgraded, but it was in someone else's wallet! civic.me/BJ6kkXomqSJ41KjugATqsUFsKvpGStgRoNVPGKzbhak6
The mint address of the nft is derived from the address of the person it was created for, and the upgrade program updates the metadata of that particular mint address, so even though the creator no longer has the nft, upgrading their lock account will always update that particular nft.
We should decide, is a lock account intrinsically linked to the NFT or is it intrinsically linked to the owner? Theoretically, we could link it to the NFT, and require that the lock account change hands when the NFT changes hands. This would not happen at transfer time, but if the minter or the recipient go to sunrise, they could be shown a UI that asks them to move the lock account over.
e.g.
Creator has no NFT but has a lock account. Instead of showing Update/Unlock, as now, instead show "You have transferred the impact nft - move the details of your accrued yield to the new owner". This should be the only thing you can do.
Recipient has an NFT but no lock account (so we don't know what the yield is etc). Again show a button "Transfer the accrued yield details from the original owner"
Question - can we replace the lock account with a bunch of on-chain metadata fields? Then none of the above would be needed
The text was updated successfully, but these errors were encountered: