Skip to content

Comment on std::unique_ptr implementation backed by Ethereum NFTs

Comments

Future steps
nft_ptr instances are themselves ERC-20 tokens with 0 supply, for forward compatibility with our next library, nft_shared_ptr.
nft_shared_ptr will implement reference counting with security by selling shares to the owned object until the SEC complains.

The whole repo is a goldmine but this really had me in stitches.

I'd love to see how they'll implement nft_weak_ptr and its creation from and conversion to a nft_shared_ptr :).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.