184 lines
13 KiB
Markdown
184 lines
13 KiB
Markdown
# **Place Identification Standard And Tool**
|
||||
|
|
|
|||
|
|
## Table of Contents
|
|||
|
|
|
|||
|
|
- [**Admin**](#admin)
|
|||
|
|
- [**Document Overview**](#document-overview)
|
|||
|
|
- [**Future-Proof To Emerging Business Models and Technologies**](#future-proof-to-emerging-business-models-and-technologies)
|
|||
|
|
- [**Place Identification Standard**](#place-identification-standard)
|
|||
|
|
- [token\_ID](#token_id)
|
|||
|
|
- [*Use ISO 3166-2 (element 1\)*](#use-iso-3166-2-element-1)
|
|||
|
|
- [*Token Identifier (element 2\)*](#token-identifier-element-2)
|
|||
|
|
- [*Time format (element 3\)* ](#time-format-element-3--)
|
|||
|
|
- [*GPS (element 4\)*](#gps-element-4)
|
|||
|
|
- [*Public Key: Authentication/Anti-Forgery (element 5\)*](#public-key-authenticationanti-forgery-element-5)
|
|||
|
|
- [*Summary*](#summary)
|
|||
|
|
- [**Process**](#process)
|
|||
|
|
- [**Same Token ID For Sharing, or Likes, Upvotes, Subscribes**](#same-token-id-for-sharing-or-likes-upvotes-subscribes)
|
|||
|
|
- [**QR Code Call-To-Action**](#qr-code-call-to-action)
|
|||
|
|
- [**QR Code Design**](#qr-code-design)
|
|||
|
|
- [**Next Steps**](#next-steps)
|
|||
|
|
- [**Create Place Identification Tokens**](#create-place-identification-tokens)
|
|||
|
|
- [1\. Create Place IDs](#1-create-place-ids)
|
|||
|
|
- [2\. Create Corresponding QR Codes](#2-create-corresponding-qr-codes)
|
|||
|
|
- [**3\. Let Me Know You Are Doing All This**](#3-let-me-know-you-are-doing-all-this)
|
|||
|
|
|
|||
|
|
# **Admin**
|
|||
|
|
|
|||
|
|
Google doc URL for this document: [https\://docs.google.com/document/d/1mcT6TAR8pcWgepcBJ5q0lRcwJt3k7H6IuWQTIVSG51Y/edit?usp=sharing](https://docs.google.com/document/d/1mcT6TAR8pcWgepcBJ5q0lRcwJt3k7H6IuWQTIVSG51Y/edit?usp=sharing)
|
|||
|
|
|
|||
|
|
This document is part of the Token Tech Knowledgbase that lives at [https\://eddiesoehnel.com/token-tech-for-consumer-brands/](https://eddiesoehnel.com/token-tech-for-consumer-brands/)
|
|||
|
|
|
|||
|
|
This document is a subset of the Token Technologies Standards And Protocols document: [https\://eddiesoehnel.com/tokentech/token-technologies-standards-and-protocols/](https://eddiesoehnel.com/tokentech/token-technologies-standards-and-protocols/)
|
|||
|
|
|
|||
|
|
# **Document Overview**
|
|||
|
|
|
|||
|
|
This document outlines the token standard for [Use Case: Boost Conservation, Stewardship And Funding For Public Lands](https://www.google.com/url?q=https://docs.google.com/document/d/1j2SSwzAKAAsnebkG1n1FA7fDm6p0D8o0ZJBhypbULr4/edit?usp%3Dsharing&sa=D&source=editors&ust=1737503843077487&usg=AOvVaw1zJEgj453TssZ5PstyFIm2)
|
|||
|
|
|
|||
|
|
# **Future-Proof To Emerging Business Models and Technologies**
|
|||
|
|
|
|||
|
|
This standard in this document conforms to an emerging technology paradigm around decentralization, deplatformization and democratization. This helps future-proof the place identification standard so that it remains relevant as the technology paradigm matures. For more about this paradigm and uses cases, please see [https\://eddiesoehnel.com/tokentech/token-technology-overview-for-consumer-brands/](https://eddiesoehnel.com/tokentech/token-technology-overview-for-consumer-brands/)
|
|||
|
|
|
|||
|
|
# **Place Identification Standard**
|
|||
|
|
|
|||
|
|
If you want to skip all the technical discussions below and just start creating place ID’s for yourself, please go to the [Next Steps section](#next-steps).
|
|||
|
|
|
|||
|
|
We call place IDs and their COA’s, “tokens”
|
|||
|
|
|
|||
|
|
### token\_ID
|
|||
|
|
|
|||
|
|
Description:
|
|||
|
|
|
|||
|
|
This is a unique ID for each token. THink of it also like a Globally Unique Identifier (GUID), a 128-bit numeric value used to uniquely identify objects, entities, or information in computer systems across the globe. The primary purpose of a GUID is to ensure that every entity has a unique identifier that is not duplicated anywhere else, eliminating conflicts in distributed systems or databases.
|
|||
|
|
|
|||
|
|
The ID is a numeric number that is a concatenation of the following:
|
|||
|
|
|
|||
|
|
Iso 3166-2 (state/region codes) identifier \+ Open Location Code \+ 13-digit time code in unix format \+ 16-digit GPS \= \~44 digit public key (optional to add a 5th element that is a public key from a private key for authentication/anti-forgery).
|
|||
|
|
|
|||
|
|
#### *Use ISO 3166-2 (element 1\)*
|
|||
|
|
|
|||
|
|
This provides standard country and state identifiers (some smaller countries do not have states, Monaco). If there is no state identifier, then we can use “null”, so Monaco world be MC-null, whereas Canada, British Columbia would be CA-BC.
|
|||
|
|
|
|||
|
|
#### *Token Identifier (element 2\)*
|
|||
|
|
|
|||
|
|
This is a unique code \- whether its number, letters or a combination, created by the location to uniquely identify each token created to represent that location, as a location can have many tokens minted that represent it.
|
|||
|
|
|
|||
|
|
#### *Time format (element 3\)*
|
|||
|
|
|
|||
|
|
Time format number would be UTC, Unix timestamp 64-bit at 13 digits. For example, January 1, 2024, 13:01:30.155 (UTC) is 1704114090155\.
|
|||
|
|
|
|||
|
|
Use the date and time of creation of the place token.
|
|||
|
|
|
|||
|
|
#### *GPS (element 4\)*
|
|||
|
|
|
|||
|
|
Displayed as decimal degrees, which the creator enters in to represent the location where the token is created: 41.403381, 02.174030
|
|||
|
|
|
|||
|
|
GPS format is displayed in 16 digits with 6 digit decimals.
|
|||
|
|
|
|||
|
|
Ideally use the GPS of the manufacturing location.
|
|||
|
|
|
|||
|
|
#### *Public Key: Authentication/Anti-Forgery (element 5\)*
|
|||
|
|
|
|||
|
|
*Note: this field does not add to making the token unique. We are better off just including this in the token data fields that are not part of the identifier. However, if there is any reason where tokens do not have any other data fields, and only this identifier, and there needs to be a mechanism where the token owner can move the token, then we would need to include this element.*
|
|||
|
|
|
|||
|
|
A private key is created, with a corresponding public key. The public key is added to the token ID. Only those with the private key can authenticate the place token
|
|||
|
|
|
|||
|
|
The SHA-256 algorithm is developed with this problem in mind. It is used for SSL, password encryption during transport, etc. The way it works is text\_to\_be\_hashed (private key) \+ hash\_function \= unique\_phrase (public key). Unique\_phrase(public key) is what would be published in the token\_ID
|
|||
|
|
|
|||
|
|
This unique\_phrase is one way. Meaning you can only recreate it from the original text and the hash\_function. However, you cannot get back the text\_to\_be\_hashed from the unique\_phrase. So the token creator has to have physical access or knowledge of the text\_to\_be\_hashed (privatekey).
|
|||
|
|
|
|||
|
|
The token owner who also owns the private key would also retain the power to do many additional things with the token, which are discussed here: [https\://eddiesoehnel.com/tokentech/token-technology-overview-for-consumer-brands/](https://eddiesoehnel.com/tokentech/token-technology-overview-for-consumer-brands/)
|
|||
|
|
|
|||
|
|
#### *Summary*
|
|||
|
|
|
|||
|
|
This number format does the following:
|
|||
|
|
|
|||
|
|
1. The number contains information. Information contained in the number can easily be parsed to help provide some identifying information about where the token is created, the place it is attached to and when it was created.
|
|||
|
|
2. Each token is unique and does not require a centralized service As long as each creator follows this format, unique tokens can be created and would be interoperable across token management apps.
|
|||
|
|
3. When created, this number is in a field that is in a record in a database, and this number represents the record. The record can be transferred, or exported, as a JSON or even just a CSV so that it can be taken wherever the owner wants it to live.
|
|||
|
|
|
|||
|
|
After creation:
|
|||
|
|
|
|||
|
|
- [ ] Editable Field
|
|||
|
|
- [x] Non-editable Field
|
|||
|
|
|
|||
|
|
Question: why use ISO 3166-2 along with latitude/longitude, where the first effectively does the same thing as lat/long? Answer: ISO 3166-2 is human readable and provides a general sense of place for the token (country and state). Lat/long provides a very specific location for where the token represents.
|
|||
|
|
|
|||
|
|
# **Process**
|
|||
|
|
|
|||
|
|
1. Build platform using standards that create tokens, or find 3rd party platforms to use.
|
|||
|
|
2. Create tokens to represent whatever you want.
|
|||
|
|
3. The token is a unique ID but is hosted on a platform, which means it has a unique URL \- ideally something like: [https\://www\.example.com/(token\_ID)](https://www.example.com/\(token_ID\)) Or, something like
|
|||
|
|
4. [https\://tokens.example.com/?token\_id={token\_id](https://tokens.example.com/?token_id={token_id)} or [https\://example.com/tokens?token\_id={token\_id](https://example.com/tokens?token_id={token_id)}; these later two would pull any data sitting in a database on the token and display on the page, rather than having a dedicated webpage for each token. This way the data of a particular token\_id is queried through a page on the brand's website rather than every page for every token\_id.
|
|||
|
|
5. The tokens and their unique identifier can be put on whatever they represent (place could be a sign with a secure QR code)..
|
|||
|
|
6. Scanning the QR code would connect to the unique URL. The URL can be anywhere so long as the relay server URL field stays constant so that the token can be updated with new data and software as needed by its creator. Example:
|
|||
|
|
1. token created by [https\://www\.brand.com](https://www.brand.com) with URL [https\://www\.brand.com](https://www.brand.com)/(token\_ID).
|
|||
|
|
2. Token moves to [https\://www\.index.earth](https://www.index.earth) and now has final URL of [https\://www\.index.earth](https://www.index.earth)/token\_ID).
|
|||
|
|
3. Relay URL however is still [https\://www\.brand.com](https://www.brand.com)/(token\_ID). That must never change and the token data and software updates must originate there, or else it will be forever broken.
|
|||
|
|
4. If there is any potential that the URL will change, or be sold, or go out of business, where the creator no longer has control of that URL, then it is best for the creator to use a relay server, which will forward to the right final URL.
|
|||
|
|
|
|||
|
|
# **Same Token ID For Sharing, or Likes, Upvotes, Subscribes**
|
|||
|
|
|
|||
|
|
A creator can create one token that is shared, or which would be duplicated to share or give to someone else and which would serve as a like/upvote or subscribe. This creates a direct line of communication via token-to-token communication between the creator and the recipient or communication among the recipients.
|
|||
|
|
|
|||
|
|
# **QR Code Call-To-Action**
|
|||
|
|
|
|||
|
|
Any QR code affixed to a place would ideally also have a good call-to-action to incent consumers to scan the code and obtain their place ID token:
|
|||
|
|
|
|||
|
|
* “I live online; scan me to see all I can do”
|
|||
|
|
* “Scan me to see my online twin”
|
|||
|
|
* “ Do more with me; scan here now”
|
|||
|
|
* “I’m a connected place. Scan now to see all my capabilities”
|
|||
|
|
* “I’m connected.. Scan To Unlock”
|
|||
|
|
* “Scan. Connect. Unlock”
|
|||
|
|
|
|||
|
|
# **QR Code Design**
|
|||
|
|
|
|||
|
|
Adopt a common design to indicate that a place is connected via a token. Consider the world internet network icon that is widely used
|
|||
|
|
|
|||
|
|
![][image1]
|
|||
|
|
|
|||
|
|
Shade to help identify what kind of token it is.
|
|||
|
|
|
|||
|
|
* For people, shade in black left two middle quadrants;
|
|||
|
|
* For entities, shade in black right two middle quadrants;
|
|||
|
|
* For place, shade in top center quadrant;
|
|||
|
|
* For product/thing, shade in center quadrant second from top;
|
|||
|
|
* For event, shade in center quadrant third from top;
|
|||
|
|
* For experience, shade in center quadrant bottom.
|
|||
|
|
|
|||
|
|
This icon is placed in the center of the QR code. A human as well as machine could identify from the pattern and shading what type of token it is.
|
|||
|
|
|
|||
|
|
# **Next Steps**
|
|||
|
|
|
|||
|
|
## **Create Place Identification Tokens**
|
|||
|
|
|
|||
|
|
### 1\. Create Place IDs
|
|||
|
|
|
|||
|
|
I have created a Google Sheet tool allowing anyone to create unique ID’s for places.
|
|||
|
|
[https\://docs.google.com/spreadsheets/d/1eAR-Wc2n1PeQnXvcydlJXZ4YML4yrujUYwI3-0p-viA/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1eAR-Wc2n1PeQnXvcydlJXZ4YML4yrujUYwI3-0p-viA/edit?usp=sharing)
|
|||
|
|
|
|||
|
|
Save this Google Sheet to your google account to use it for yourself. The tool has an app script that will auto-generate the cryptographically secure public/private key pair using SHA 256\.
|
|||
|
|
Review the notes sheet first for more explanations.
|
|||
|
|
|
|||
|
|
### 2\. Create Corresponding QR Codes
|
|||
|
|
|
|||
|
|
Once the ID’s are created, create the corresponding QR code using the QR code design that makes the code human as well as machine readable for identifying from the pattern what type of token it is (representing a person, entity, place, thing, event or experience).
|
|||
|
|
|
|||
|
|
To do that, I created a simple HTML file along with the QR code design images.
|
|||
|
|
|
|||
|
|
1. Download that from here. It is a zip file. It is a zip file. [https\://drive.google.com/file/d/1H3-XeOSLeEzGFAbEt91liodB3x1frbHA/view?usp=sharing](https://drive.google.com/file/d/1H3-XeOSLeEzGFAbEt91liodB3x1frbHA/view?usp=sharing)
|
|||
|
|
2. Unpack it.
|
|||
|
|
3. Open the HTML file in any browser. Follow the instructions on the HTML pages in your browser to create the QR code.
|
|||
|
|
|
|||
|
|
This app operates locally from your computer. However, the HTML file needs internet access as it is using the qr-code-styling JavaScript library that’s being loaded from a public content delivery network (CDN) \- in this case, jsDelivr, a well-known CDN that serves open-source JavaScript libraries and other front-end assets.
|
|||
|
|
|
|||
|
|
If you prefer to check the code in the HTML file before loading in your browser, open it in a text editor, copy the code, paste it into any LLM like ChatGPT, and ask the LLM to check for any malicious code. This file sits on my personal google drive, so unlikely anyone can access it to insert malicious code.
|
|||
|
|
|
|||
|
|
You can use any other QR code generator \- there are many available on the Internet. Just be sure to use the proper QR codes design to identify the type of token.
|
|||
|
|
|
|||
|
|
## **3\. Let Me Know You Are Doing All This**
|
|||
|
|
|
|||
|
|
Let me know ([https\://eddiesoehnel.com/contact/](https://eddiesoehnel.com/contact/)) that you are using these tools and this standard so that I can inform you of new capabilities added and progress on the use of this standard.
|
|||
|
|
|
|||
|
|
[image1]: assets/images/place-identification-standard-and-tool-image1.png
|