# A PROTOCOL

This approach combines a simple **text.standard** (the code) and an HTML file (the decoder).

### Time architectural strategy

We introduce a simple yet effective change in the architectural strategy. By transforming a humble text file into a tool capable of recursive inscriptions, we unlock a new level of potential for blockchain operations.

The .text standard plays the role of a code, while the HTML file acts as the decoder, interpreting the instructions encapsulated within the .text file.

<figure><img src="https://836994942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtEoQWiS1J6W7WvSaQrjt%2Fuploads%2F6JdpMLbUkC6pU56qKQcD%2Fphoto_2023-07-17_00-05-20.jpg?alt=media&#x26;token=f72187b9-3c71-442d-be17-852d1201c7fb" alt="" width="563"><figcaption><p>Bitcoin time flow</p></figcaption></figure>

#### Visualizer (Decoder)

The HTML file, or the decoder, needs to include a key component:&#x20;

`<input id="textStandard" type="hidden">`

`document.getElementById('textStandard').value;`

With these, the HTML file can effectively interpret the text and interact with it, executing the embedded inscriptions accordingly.

```html
<input id="textStandard" type="hidden">

<script>
document.getElementById('textStandard').value;
</script>
```

<figure><img src="https://836994942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtEoQWiS1J6W7WvSaQrjt%2Fuploads%2FfxWcc8GhKO3ptZw5u9S4%2Fphoto_2023-07-17_00-05-12.jpg?alt=media&#x26;token=31b6d171-6e7c-4eae-bb48-da418ef1a909" alt="" width="563"><figcaption><p>v2 : <a href="https://ordiscan.com/inscription/16788432">https://ordiscan.com/inscription/16788432</a></p></figcaption></figure>

### Third-Party Integration

Bitcoin Time's methodology significantly simplifies the integration process for third-party platforms such as websites, marketplaces, scanner tools, wallets, and other services engaging with the Ordinals blockchain.

The integration only requires the incorporation of a single line of code:&#x20;

```javascript
iframe.getElementById('textStandard').value = textStandard;
```

<figure><img src="https://836994942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtEoQWiS1J6W7WvSaQrjt%2Fuploads%2F0Mu25mLaAFGLvwAOPUSI%2Fphoto_2023-07-17_00-08-08.jpg?alt=media&#x26;token=7f341be8-791f-4507-aa31-20aa9da7bf21" alt="" width="563"><figcaption><p>ex: Unisat Wallet using time protocol</p></figcaption></figure>
