HackFS- Decentralized Content Identifier Registry
Traditional commercial content identifiers like ISBN, DOI, ISRC, ISSN and many others usually identify "content" in an abstract sense and not files or data. They are mostly registry-based systems where an identifier is bound to an actor who controls what "content" is identified by a given id.
Technical folks use cryptographic hashes to identify data. This is a decentralized approach as it does not require a registry to create an identifier. But data is not the same thing as "content". Just assume one image encoded as PNG and as JPEG. While from a human and perceptual viewpoint, their "content" is identical, their hash-identifiers are uncorrelated. Cryptographic hashes like IPFS CID are used for addressing data. If you flip one bit in the data, you have a new CID that has no connection to the previous CID. But digital media content continuously re-encodes, resizes, and re-compresses, changing its underlying data as it travels through a complex network of actors and systems. How can we preserve content relations in self-describing identifiers?
ISCC is a proposal that tries to establish a new paradigm. ISCC is a decentralized content-based hash. But unlike cryptographic hashes, it also preserves an estimate of the data, content and metadata similarity:
The ISCC is currently discussed at ISO for standardization (ISO/TC 46/SC 9/WG 18). Learn more about ISCC at
- ISCC codes do not necessarily require a registry, so why would we want to build one?:
- Identifiers can be shorter when using a registry (citable).
- Identifiers can be owned by actors (authenticated messages).
- Identifiers can have guaranteed uniqueness.
- Identifiers can be discovered by browsing/searching a registry
- Identifiers can be resolved to metadata or data.
The idea is to design an open cross-blockchain registration protocol. Exercising the protocol materializes a global and publicly auditable meta-registry with short and unique content identifiers that bind digital content to actor identities. The architecture supports the discovery of identical and similar content registered by different actors across different blockchains. The protocol is quite simple:
- Generate a full ISCC Code
- Choose any shared public ledger that has a protocol implementation
- Register your ISCC with a signed transaction on the chosen ledger
- The rest is "history" ...
The ISCC Short-ID binds digital content to actor identities. The Short-ID emerges naturally from DLT transactions that are: Public, Authenticated, Ordered, Immutable. Anybody who follows the cross-chain indexing protocol can build the state of the full ISCC Short-ID Index (meta-registry). The same ISCC Code may be registered by multiple actors on different chains. They all get different but matchable Short-IDs. A meta-registry resolves ISCC Short-IDs to a transaction (or its information) on a given chain that carries the full ISCC code and links to more metadata or the content itself on IPFS/Filecoin or elsewhere.
- A basic protocol design for decentralized ISCC registration
- A protocol implementation based on Ethereum / IPFS
- An Ethereum contract that logs ISCC registrations including IPFS links
- tool that registers ISCC codes on Ethereum and publishes metadata to IPFS
- A meta-registry indexer that creates a ISCC Short-ID index by listening to contract events and offering resolver services.
- A tool that resolves ISCC Short-IDs to ISCC Codes and metadata/data (maybe as DID method driver https://uniresolver.io/)
- Domain based self-verification
We have build a minimal end-to-end cli tool:
Usage: ireg [OPTIONS] COMMAND [ARGS]...
Options:
-d, --debug Enable debug mode
--help Show this message and exit.
Commands:
deploy Deploy ISCC Registry contract to chain.
observe Watch Registry contract and index ISCC-IDs
prove Create domain based self-verification proof
register Register a media asset.
resolve Resolve ISCC-ID via meta-index
- Checkout code from github
- Install dependencies via
poetry install
(see: Poetry) - Install and run Ganache
- Install and run IPFS
- Deploy meta-index contract with
ireg -d deploy
- Run meta-index observer with
ireg -d observe
- Register an asset with
ireg -d register README.md
- Resolve an ISCC-ID with
ireg resolve 27PH9o5ZNm1VC
- Self-verify your domain with
ireg prove