# Framework

## **Token**

A standard Natalias [UNAT](https://digital-matter-theory.gitbook.io/digital-matter-theory/introduction/non-arbitrary-tokens-nats/hybrid-token-model#what-are-unats) token will be a text or JSON inscription that looks like this:

```
{
"p":"tap",
"op":"dmt-mint",
"dep":"dd7cd31737870aaf9ff516bef64b3be7a626aaca208ac799f83b6ddf25d621cai0",
"tick":"natalias",
"blk":"657586"
}
```

The protocol is [TAP](https://trac.network/tap/), the operation is a mint, the deployment is the inscription ID of the [official Natalias dmt-deploy inscription](#deployment) and the block number ("blk") refers to a valid Natalias block number, in this example; 657,586.

We can verify the validity of this mint by checking the bits hex value of the block: <https://explorer.btc.com/btc/block/657586>

As you can see, it contains the `fed` pattern:

<figure><img src="/files/FIBmE7lCWUDBkYUUdZYc" alt=""><figcaption></figcaption></figure>

If somebody tries to mint a Natalia for an invalid block, it will fail the pattern matching standards set in the Digital Matter Theory [documentation](https://digital-matter-theory.gitbook.io/digital-matter-theory/introduction/digital-elements), and thus will not be indexed as a valid mint by [TRAC](https://trac.network/).

## Deployment

The official `$dmt-natalias` token deployment can be found at: <https://ordinals.com/inscription/dd7cd31737870aaf9ff516bef64b3be7a626aaca208ac799f83b6ddf25d621cai0>

```
{
"p": "tap",
"op": "dmt-deploy",
"elem": "fe53987c8f94916ed6657b448c7422c0b44dbeca17c4c7554346a0a67b5090bdi0",
"tick": "natalias",
"dt": "h",
"id": "685795bd1c588b389b86d3792fde84f3ae8b82022f0e19ac2d36b79080f4c6c5i0"
}
```

The protocol is [TAP](https://trac.network/tap/), the operation is a token deployment, the ticker is "natalias" and the "id" points to the inscription ID of the official Natalias image generation script.

## Image Generation Script

The official Natalias image generation script can be found at: <https://ordinals.com/content/685795bd1c588b389b86d3792fde84f3ae8b82022f0e19ac2d36b79080f4c6c5i0>

It is an HTML page that generates the Natalias art for every block number (valid or not). The format is vector and the generated art can be downloaded as a \*.PNG image file.&#x20;

All Natalias tokens point to the "id" of the deployment inscription, which points to the "id" of the image generation script. As such, any platform can follow this trail to generate the artwork for any valid Natalias mints, by passing the `id` of the token inscription as a GET parameter to the image generation script. The image generation script fetches the content of the token inscription, parses the `blk` number, and uses it as the seed for the image generation.

The image generation is achieved through the [css-doodle.js](https://css-doodle.com/) library, which provides utilities for creating CSS art. The 80KB javascript library was inscribed on-chain solely for the purpose of this project.&#x20;

In the future, we plan to leverage our learnings to establish an open framework that will empower other creators on Bitcoin.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://natalias.gitbook.io/natalias/framework.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
