Pular para o conteúdo

Fontes desta pagina

Cada afirmacao desta pagina aponta para revisoes fixadas. Abra o caminho para ler a fonte exata da verificacao.

atomicals-electrumx-1.5.2.0

Atomicals ElectrumX

Revisao v1.5.2.0 (2025-03-27)

Abrir caminho fixado: mintParser

Version-sensitive ARC-20 and Atomicals validation behavior used as the pinned reference baseline.

universe-index-atomicals-nfts-and-realms

Universe Atomicals NFT, Realm, and Subrealm index

Revisao 1d9109c68d95

Abrir caminho fixado: server

Materialized read model for plain NFTs, Realms, and Subrealms projected from Atomicals ElectrumX.

Metadata and media

Raw

How an NFT carries files, what a digest guarantees, and the rules a renderer must follow to serve hostile content safely.

Protocol behavior Verified 2026-08-31 Metadata & Sources

Describes the Atomicals protocol itself at the pinned reference revision. It does not promise that any product exposes it.

Page ID
protocol/nft/metadata-and-media
Normative authority
Atomicals reference implementation
Networks
mainnet
Documentation version
2026.08
Audience
developer, creator
Owner
bitcoin-universe-docs
Sources
Known limitations
  • A digest proves byte integrity only. It says nothing about rights, originality, or whether the content is safe to render.

Este conteúdo não está disponível em sua língua ainda.

An NFT payload can contain named files. Each declares a content type and carries raw bytes. A validator records a digest per file so a consumer can verify what it received.

Metadata fields such as name, desc, image, links, and legal sit alongside. All of it is supplied by the minter and none of it is checked.

When several files exist, a renderer must choose one to display. Choose deterministically:

  1. Prefer an explicitly named primary field if the payload declares one.
  2. Otherwise prefer the first file whose sniffed type is in your render allowlist.
  3. Otherwise render nothing and say so.

Never choose based on the declared content type alone, and never fall back silently to a placeholder that looks like real content.

Rule Reason
Sniff the type from the bytes The declared type is attacker controlled
Serve only an allowlist of types An unknown type is an unbounded risk
Enforce a size limit before decoding Decompression and decoding are attack surfaces
Serve from an isolated origin So content cannot reach your session
Send a restrictive content security policy So embedded script cannot execute
Never inline payload bytes into your document Same reason
Verify the digest before serving So a substitution is detected

The Universe NFT and Realm read model applies MIME restrictions, size limits, and digest validation on its media route. See NFT and Realm API.

Preserve exact original bytes permanently. Optimised files, thumbnails, and responsive sizes are derivatives, stored separately and content addressed by hash so identical bytes are stored once.

A derivative must never be served as if it were the original when a caller asked for the original.

Escape everything. Names, descriptions, and link labels are arbitrary strings and can contain markup, control characters, bidirectional overrides, and confusable glyphs. See Unicode and IDNA.