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

shared_ptr would be interesting #3

Open
lattice0 opened this issue Apr 12, 2021 · 1 comment
Open

shared_ptr would be interesting #3

lattice0 opened this issue Apr 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@lattice0
Copy link

What about shared_nft_ptr for when we need to tranfer an NFT but still receive royalties? we need to have a shared pointer

thanks

@zhuowei
Copy link
Owner

zhuowei commented Apr 12, 2021

Current plan is to make nft_shared_ptr backed by an ERC-20 token that would own the ERC-721 token representing the object. Each nft_shared_ptr instance would purchase a share from the ERC-20.

Of course, all these tokens will support ERC-165 for compatibility with Microsoft COM's IUnknown::QueryInterface/AddRef/Release.

Weak pointers will not be supported because we must hodl our pointers strongly with our 💎 🙌

@zhuowei zhuowei added the enhancement New feature or request label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants