timosolo on Nostr: They used an ordinal inscription with lots of bitcoin transactions to represent each ...
They used an ordinal inscription with lots of bitcoin transactions to represent each pixel.
The full explanation: (from grok)
Bitcoin inscriptions, often related to the Ordinals protocol, involve embedding data (like images, text, or other digital content) into Bitcoin transactions. Here's how pixels for an image in a Bitcoin inscription are typically generated:
1. **Data Encoding**:
- **Image Conversion**: The image you want to inscribe is first converted into a digital format that can be encoded into Bitcoin's script language. This usually involves converting the image into a format like PNG or JPEG, which can then be transformed into binary data.
- **Binary Data**: The image data is converted into binary (a series of 0s and 1s). This binary data represents the pixels of the image in a format that can be processed by computers.
2. **Inscription Creation**:
- **Ordinals Protocol**: Using tools like the Ordinals protocol, this binary data is then included in a Bitcoin transaction. The protocol allows for individual satoshis (the smallest unit of Bitcoin) to be "inscribed" with data.
- **Transaction Script**: The binary data of the image is embedded in the witness section of a transaction output. This is done by using the `OP_RETURN` script opcode, which allows for up to 80 bytes of data per output or by using multiple outputs for larger data.
- **Pixel Representation**: Each pixel of the image is represented by a specific number of bits or bytes, depending on the color depth and format of the image. For instance, a simple black and white image might use 1 bit per pixel, whereas a color image might use 24 bits (8 bits for each of RGB).
3. **Transaction and Mining**:
- **Transaction Submission**: Once the transaction with the inscribed data is created, it's broadcast to the Bitcoin network. Miners pick up this transaction and include it in a block.
- **Mining**: When the block containing this transaction is mined, the data (and thus the image's pixel information) becomes part of the Bitcoin blockchain, effectively "minting" the image onto a satoshi.
4. **Decoding and Viewing**:
- **Retrieval**: Anyone can then use an Ordinals or similar browser to look up the transaction, decode the binary data back into an image format, and view the inscribed pixels.
This process essentially decentralizes the storage of digital content on the Bitcoin blockchain, making it immutable once inscribed. However, the actual viewing of the image requires specialized software to decode the data back into viewable pixels.
The full explanation: (from grok)
Bitcoin inscriptions, often related to the Ordinals protocol, involve embedding data (like images, text, or other digital content) into Bitcoin transactions. Here's how pixels for an image in a Bitcoin inscription are typically generated:
1. **Data Encoding**:
- **Image Conversion**: The image you want to inscribe is first converted into a digital format that can be encoded into Bitcoin's script language. This usually involves converting the image into a format like PNG or JPEG, which can then be transformed into binary data.
- **Binary Data**: The image data is converted into binary (a series of 0s and 1s). This binary data represents the pixels of the image in a format that can be processed by computers.
2. **Inscription Creation**:
- **Ordinals Protocol**: Using tools like the Ordinals protocol, this binary data is then included in a Bitcoin transaction. The protocol allows for individual satoshis (the smallest unit of Bitcoin) to be "inscribed" with data.
- **Transaction Script**: The binary data of the image is embedded in the witness section of a transaction output. This is done by using the `OP_RETURN` script opcode, which allows for up to 80 bytes of data per output or by using multiple outputs for larger data.
- **Pixel Representation**: Each pixel of the image is represented by a specific number of bits or bytes, depending on the color depth and format of the image. For instance, a simple black and white image might use 1 bit per pixel, whereas a color image might use 24 bits (8 bits for each of RGB).
3. **Transaction and Mining**:
- **Transaction Submission**: Once the transaction with the inscribed data is created, it's broadcast to the Bitcoin network. Miners pick up this transaction and include it in a block.
- **Mining**: When the block containing this transaction is mined, the data (and thus the image's pixel information) becomes part of the Bitcoin blockchain, effectively "minting" the image onto a satoshi.
4. **Decoding and Viewing**:
- **Retrieval**: Anyone can then use an Ordinals or similar browser to look up the transaction, decode the binary data back into an image format, and view the inscribed pixels.
This process essentially decentralizes the storage of digital content on the Bitcoin blockchain, making it immutable once inscribed. However, the actual viewing of the image requires specialized software to decode the data back into viewable pixels.