Protocol
B://
On-chain file storage. Content, media type, and encoding in a single OP_RETURN.
| prefix | 19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAut |
| address | 19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAut |
| encoding | Binary content with UTF-8 metadata |
Overview
B:// stores files on-chain. Each output contains the file content, its MIME type, and encoding. The transaction ID becomes a permanent, content-addressed URL.
Wire format
OP_FALSE OP_RETURN
19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAut
<content>
<media_type>
<encoding>
[<filename>]
Fields
| Position | Description | Example |
|---|---|---|
| 1 | File content (binary) | <html>...</html> |
| 2 | MIME type | text/html |
| 3 | Encoding | utf-8 |
| 4 | Filename (optional) | index.html |
Usage
Often piped with MAP (for metadata) and AIP (for authorship proof). The file content is the raw bytes — images, HTML, JSON, any format.