# zhuowei/nft_ptr

C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain

Repository: https://github.com/zhuowei/nft_ptr
Canonical: https://ross.abutalabs.com/products/nft_ptr
Homepage: https://worthdoingbadly.com
Language: Rust
License Family: other
Last push: 2021-05-23T16:54:40+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1980, "days_push": 1928, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2025, forks 38 (observed 2026-08-28T04:06:06.742967+00:00)

## What it is
A C++ library that replaces std::unique_ptr with a version that mints each heap object's memory address as an NFT on the Ethereum blockchain, transferring tokens on pointer moves. It is a novelty/proof-of-concept project demonstrating ERC-721 smart contract integration from C++.

## Use cases
- represent C++ heap objects as NFTs on Ethereum
- transfer object ownership as ERC-721 token transfers
- experiment with smart contracts from C++
- learn how unique_ptr semantics can be customized
- novelty demo of blockchain integration in systems code

## When to choose
- you want a humorous or educational demo of blockchain + C++ integration
- you need an example of deploying and interacting with ERC-721 contracts from native code

## When to avoid
- any production C++ project
- you need performance - every pointer move incurs a blockchain transaction
- you need a maintained or licensed dependency
- you want real memory management without network dependency

## Facets
- artifact type: library
- maturity: abandoned
- function: blockchain, developer-tools
- domain: blockchain, developer-tools, programming-languages
- platform: cpp, cross-platform
- tags: nft, ethereum, smart-pointer, novelty, erc-721, joke-project, memory-management

## Member repositories
- zhuowei/nft_ptr (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.742967+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:47.348790+00:00, confidence not recorded.
  - readme: https://github.com/zhuowei/nft_ptr (fetched 2026-08-28T04:06:06.742967+00:00, sha b40edf76c665)
  - homepage: https://worthdoingbadly.com (fetched 2026-08-29T10:39:53.754540+00:00, sha 6260aa667457)
  - site_page: https://worthdoingbadly.com/about (fetched 2026-08-29T10:39:53.757274+00:00, sha 6668162960ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
