Status: idealose draftdraftproposalfinal reviewstable

Mustache for blockchain content

Let's get a common way of engaging mustache templating for dynamic content from the blockchain.

This document describes the protocol "B://eard" (pronounced beard). Please share inputs and comments.


Templating is a common way of merging data with structure. The Mustache has a simple syntax and (almost) no logic but have proven tremendously useful in many areas with its simplicity and easy learning curve.


The B://eard protocol lets content creators use Mustache as a templating engine for blockchain data and is inspired by the B://emplate idea model D.

In the following, we will use main data object to refer to the data context in which a Mustache template engine will run.


If you provide content from the blockchain you are compatible with the B://eard protocol if you:

All key texts are case insensitive.


The following content

<li>{{name}} - price: {{price}}

Will produce

<h3>My shop!</h3>

<li>Knife - price: 2.25
<li>Spoon - price: 2.5
<li>Fork - price: 2.99


Known implementations:

Please share inputs and comments.