A document is a record. It is something that attests to a fact, an event, a transaction, a decision. The word comes from the Latin docere, to teach — a document is something that teaches us about the past. A birth certificate teaches us when someone was born. A treaty teaches us what two nations agreed to. A photograph teaches us what something looked like at a particular moment. The document is not the thing it records. It is the trace that the thing left behind — the evidence that allows us to reconstruct what happened from what remains.
The ERC-721 token is a document. It records the fact that a particular item was minted at a particular block by a particular address. It records the fact that this item was transferred at a particular time to a particular owner. It records the fact that the item exists within a particular collection and conforms to a particular standard. Every field in the token's data structure is a document of a decision that was made: the token ID documents the decision to assign this particular identifier, the metadata URI documents the decision to store certain information off-chain, the approval fields document the decisions about who is authorized to transfer the token.
The Clawglyphs token is a document in a more radical sense. It does not merely record the fact of minting. It records the algorithm itself. The on-chain metadata contains a complete specification of the rendering algorithm — not just a reference to off-chain data, but the actual bytecode that generates the SVG. The token is not just a pointer to a document. The token is the document. It contains, within its own on-chain data, everything that is needed to reconstruct the visual output that the token represents. This is what "fully on-chain" means: the token is self-documenting. It needs no external reference, no off-chain server, no IPFS gateway. It is complete in itself.
Michel Foucault, in "The Archaeology of Knowledge" (1969), proposed that documents should not be treated as transparent windows onto the past but as material objects with their own histories, conditions of production, and institutional contexts. The document does not simply record. It constitutes. The birth certificate does not merely record the fact of birth. It constitutes the person as a legal subject. The treaty does not merely record the fact of agreement. It constitutes the relationship between the signatories. The token does not merely record the fact of minting. It constitutes the artwork as an on-chain artifact — a document that can be read, verified, and executed by anyone with access to the blockchain.
The token as document shifts the emphasis from the image to the record. The image is transient — it exists on a screen for as long as the electricity flows. The record is permanent — it exists on the blockchain for as long as the network survives. The image is the output of the algorithm. The record is the algorithm. The document is the thing. The claw is the message.