Pet QR tags powered by Steem

in #utopian-io6 years ago

steempet-image1.png

Repository

https://github.com/steempet/app/

Website

https://steempet.github.io/app/

What are Pet QR tags?

Pet QR tags consist of QR codes linked to a pet profile on the Steem Blockchain in order to give an extra protection to pets in the case of loss. The current work consists of a website to handle these tags.

How it works?

Suppose your dog got lost in the city for some reason. And in the collar, it has a medal with the tag. Someone that finds the dog can scan the QR tag which links to a profile of the pet with all the necessary information to contact you, the owner. Not only contact information but also relevant data such as allergies to some type of food or medication, or vaccines already applied.

steempet-image2.png

Through the SteemPet website, all this data is stored in the json metadata of the steem account. This is very useful because the owner can update the information at any time and the link remains the same forever: the steem account.

Why Steem Blockchain?

This QR tag service is already performed for some companies, like Pethub, PetQ, AnimalRescue, among others. However, all of them are centralized entities with all control over the issue and activation of tags, and they are not available worldwide, only in specific countries. On the other hand, the Steem Blockchain could be used as a universal tag system for pets: It is a decentralized database, and everyone can create their own tag without the need for activation or charges that increase the costs.

New business model

This model of tagging can be expanded worldwide. Everyone around the world could create a local company dedicated to creating steem accounts and issue QR tags to sell in their city. There is no central authority and no type of commission for using the Steem Blockchain.

steempet-image3.png

Put my personal data in a public blockchain? No way!

Although the blockchain is public, confidential data such as address, phone, and email are encrypted with a key that is written in the tag. That is, this information will only be visible by scanning the QR tag.

Example:

Without the key:

https://steempet.github.io/app/pet.html?p=pruebas

steempet-image5.png

With the key:

https://steempet.github.io/app/pet.html?p=pruebas&key=FbpGycithc

steempet-image4.png

Technology Stack

  • vue.js: SteemPet Website.
  • steem-js: API to access the blockchain.
  • qrcode.js: Used to generate QR codes for tags.
  • aes.js: Library used for the encryption of sensitive data.

JSON format

Inside the account's json metadata a new key "pets" is allocated to store an array of pets. Each pet has this format:

pet = {
  public: {      //PUBLIC DATA
    petType: '', //dog, cat, ...
    name: '',
    image: '',   //url of image
    breed: '',
    color: '',
    birthday: '',
  },
  private: {     //PRIVATE DATA - encrypted
    email: '',
    address: '',
    phoneNumber: '',
    notes: '',
  }
}

Roadmap

The future plans and work with this project include:

  • Integration with SteemConnect.
  • Possibility to add several pets in a single steem account.
  • Create the logo and several attractive templates for the tags.
  • Use this website as a social network for pets taking the advantages of steem. The principal filter would be the tag PET.

How to contribute?

Any type of contribution is very welcome. You can make pull requests to the Github repository, or contact me on Discord (jga#0699), steem.chat (jga), or steem (@jga).

GitHub Account

https://github.com/joticajulian

Sort:  

This is looking great @jga. :)

One thing I didn't like it is that the active key requirement. Not everyone can audit the javascript code, and we shouldn't practice it in the ecosystem, so average Joe shouldn't think that's a normal thing.

One workaround may be using custom_jsons since broadcasting them only requires posting key scope. That has a downfall that you need to have a separate background indexer to get the data, though. Not exactly easy as a get_account call.

On a side note, the link to the pet detail page is broken after the initial save of the pet.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

self-upvoted to surpass bots, and unrelated comments.

I don't like that either. For this reason, the next step is using steemconnect.

On the other hand, I also considered custom jsons, but the data is permanent and can't be updated.

I will look the issue of initial save.

Thanks for your comment.

Thank you for your review, @emrebeyler!

So far this week you've reviewed 4 contributions. Keep up the good work!

it is a great idea to use steem blockchain!!!

Posted using Partiko Android

but, i also don't like to use active key.

Hi bro, do you know React js as well? I just resteemed this post to visit later. it is interesting. can be applied to large scale. I dont know yet but my project is on ulogs.org
will revisit

Thanks for reading 👍
I know some basics about react !

Just wondering why you didn't try to build this with the Quasar Framework...

Because I wanted to link the github repository with github pages, that is, without the need to compile.
I don't know if I'm wrong, I'm new with vue and quasar. Maybe you can help me with your experience.

I see. Personally I hate gh-pages and would in this case setup a now.sh account or or use netlify.com for serving the project. They are both free and in my opinion a great deal easier to use than gh-branches.

Quasar itself brings so many useful components that you actually spend almost zero time setting up your GUI.

This is absolutely great !

Thanks Sorin :)

Hi @jga!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 4.221 which ranks you at #2646 across all Steem accounts.
Your rank has improved 9 places in the last three days (old rank 2655).

In our last Algorithmic Curation Round, consisting of 516 contributions, your post is ranked at #438.

Evaluation of your UA score:
  • Some people are already following you, keep going!
  • The readers like your work!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

You got a 59.61% upvote from @ocdb courtesy of @jga!

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.034
BTC 66038.71
ETH 3178.89
USDT 1.00
SBD 4.05