
Умные указатели с семантикой
std::unique_ptr
, который хранит объекты в виде NFT-токенов.Why?
* Biggest issue facing $125 billion security industry: Memory safety.
* "~70% of the vulnerabilities addressed through a security update each year continue to be memory safety issues." - Microsoft Security Response Center
* The world's largest codebases are written in C++
* Browsers, operating systems, databases, financial systems
* C++ memory management is hard to understand, opaque, and not secure
* As we all know, adding blockchain to a problem automatically makes it simple, transparent, and cryptographically secure.
* Thus, we extend
std::unique_ptr
, the most popular C++ smart pointer used for memory management, with blockchain support* Non-Fungible Tokens and
std::unique_ptr
have the exact same semantics:* each token/object is unique, not fungible with other tokens/objects
* each token/object is owned by one owner/unique_ptr
* others may view the NFT/use the object, but only the owner can transfer/destroy the NFT/object.
* absolutely no protection against just pirating the image represented by the NFT/copying the pointer out of the unique_ptr
* Written in Rust for the hipster cred.
* Made with 💖 by a Blockchain Expert who wrote like 100 lines of Solidity in 2017 (which didn't work)
github.com/zhuowei/nft_ptr