The Protocol
1. Lot ID Generation
To generate the Lot ID, follow these steps:
Pass a secret, transaction hash, vbyte size, and project name to the
generateLotId
function.The
generateLotId
function combines the provided values into acombinedString
in the format:{secret}_{txHash}
The
combinedString
is hashed using the SHA-256 algorithm.The
hash
is encoded intoencodedHash
using the Base58 encoding scheme.The
encodedHash
isshortened
by taking the last 6 characters.The
sizeLabel
is assigned based on the vByte size of the transaction."estate" | "large" | "medium" | "small"
The vbyte size, size label, project name, and ".lot" extension are appended to form the final Lot ID:
{shortened}_${vbyteSize}_${sizeLabel}_${projectName}.lot
The Lot ID is returned as the unique identifier for the fractionalized lot of land in the metaverse.
2. Lot ID Usage
The resulting Lot ID serves as the unique identifier for the fractionalized lot of land in the metaverse. It can be used as a land title/deed for the specific lot. The Lot ID should be inscribed as a text inscription. An example would look like this:
gQWu7U_187_small_cool-project.lot
We can tell a lot about this string in a glance. It's by "Cool Project" and it's a small lot with 187 vm². This also gives owners a way to determine if their project namespace is already being used. While project name collisions wouldn't technically matter because of the unique identifier that prepends it, we think owners would prefer to start with a clean slate. In this example, you could search "cool-project.lot" on something like Unisat to determine if the project name was already being widely used.
What is nice about this approach, is that an owner could inscribe all transactions within their Bitmap block at once, or inscribe them ad-hoc over time without the fear of a rogue inscriber claiming the provable identifier. ie Only the original landowner has the secret
and can produce the unique ids.
Example Code
** Like anything else, nothing is stopping inscribers from inscribing the same text once the first inscription is out there, thus, owners and buyers should always use inscriptionIds
as the final source of truth when buying/selling/trading. This protocol gives Bitmap landowners a simple way of ensuring the public doesn't inscribe a valid identifier for their land under the "first-is-first" principle. In other words, the BLIS protocol reasonably ensures the original Bitmap land owner is first.
Last updated