Pet QR tags powered by Steem by jga

View this thread on steempeak.com
· @jga ·
$23.71
Pet QR tags powered by Steem
![steempet-image1.png](https://cdn.steemitimages.com/DQmWvZRvSBwDx5xN8bDyWov65ca2PyjBGtm6rk36Fxd4HKK/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.

<center>![steempet-image2.png](https://cdn.steemitimages.com/DQmeVem6U4YC7kBL2UC1XkTTog648e4JbHQ1m7W3JCbqejy/steempet-image2.png)</center>

Through the [SteemPet](https://steempet.github.io/app/) 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](pethub.com), [PetQ](petq.me), [AnimalRescue](https://animalrescue.com/), 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.

<center>![steempet-image3.png](https://cdn.steemitimages.com/DQmQ9BeqTAxXzzRorof3Ww66mrNDs9UyLsTiJLq6GroTSks/steempet-image3.png)
</center>

#### 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:
<center>https://steempet.github.io/app/pet.html?p=pruebas</center>
<center>![steempet-image5.png](https://cdn.steemitimages.com/DQmZKHKn2oEkbH8ZbznkYcMPvhW28RaX67vtyrFvpSdC4nz/steempet-image5.png)</center>

With the key:
<center>https://steempet.github.io/app/pet.html?p=pruebas&key=FbpGycithc</center>
<center>![steempet-image4.png](https://cdn.steemitimages.com/DQmUFSHk2MLnGMez5G6NGtrvNJKxgTDcdukSkoVTsMsfyqS/steempet-image4.png)</center>


### Technology Stack
- [vue.js](https://vuejs.org): SteemPet Website.
- [steem-js](https://github.com/steemit/steem-js): API to access the blockchain.
- [qrcode.js](https://github.com/davidshimjs/qrcodejs): Used to generate QR codes for tags.
- [aes.js](https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/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](https://github.com/steempet/app/), or contact me on Discord (jga#0699), steem.chat (jga), or steem (@jga).

#### GitHub Account
https://github.com/joticajulian
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 443 others
properties (23)
post_id62,931,013
authorjga
permlinkpet-qr-tags-powered-by-steem-1537504559183
categoryutopian-io
json_metadata{"users":["jga"],"app":"steeditor\/0.1.2","image":["https:\/\/cdn.steemitimages.com\/DQmWvZRvSBwDx5xN8bDyWov65ca2PyjBGtm6rk36Fxd4HKK\/steempet-image1.png"],"community":"steempet","tags":["utopian-io","development","pet","steem","qr"],"format":"markdown","links":["https:\/\/github.com\/steempet\/app\/","https:\/\/steempet.github.io\/app\/","https:\/\/animalrescue.com\/","https:\/\/steempet.github.io\/app\/pet.html?p=pruebas","https:\/\/steempet.github.io\/app\/pet.html?p=pruebas&key=FbpGycithc","https:\/\/vuejs.org","https:\/\/github.com\/steemit\/steem-js","https:\/\/github.com\/davidshimjs\/qrcodejs","https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/crypto-js\/3.1.2\/rollups\/aes.js","https:\/\/github.com\/joticajulian"]}
created2018-09-21 04:36:00
last_update2018-09-21 04:36:00
depth0
children16
net_rshares18,764,997,064,853
last_payout2018-09-28 04:36:00
cashout_time1969-12-31 23:59:59
total_payout_value17.971 SBD
curator_payout_value5.742 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,465
author_reputation31,866,424,217,867
root_title"Pet QR tags powered by Steem"
beneficiaries
0.
accountutopian.pay
weight500
max_accepted_payout100,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (507)
@steem-ua ·
#### 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](https://discord.gg/KpBNYGz)**
properties (22)
post_id62,981,563
authorsteem-ua
permlinkre-pet-qr-tags-powered-by-steem-1537504559183-20180921t182502z
categoryutopian-io
json_metadata{"app":"beem\/0.19.54"}
created2018-09-21 18:25:03
last_update2018-09-21 18:25:03
depth1
children0
net_rshares0
last_payout2018-09-28 18:25:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length716
author_reputation23,203,609,903,979
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ocdb ·
re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180923t071959236z
You got a 59.61% upvote from @ocdb courtesy of @jga!
properties (22)
post_id63,101,353
authorocdb
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20180923t071959236z
categoryutopian-io
json_metadata{"app":"postpromoter\/1.9.3"}
created2018-09-23 07:20:00
last_update2018-09-23 07:20:00
depth1
children0
net_rshares0
last_payout2018-09-30 07:20:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length53
author_reputation3,405,824,162,324
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@surpassinggoogle · (edited)
$0.03
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
👍  ,
properties (23)
post_id63,196,399
authorsurpassinggoogle
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t114220050z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-09-24 11:42:24
last_update2018-09-24 11:43:06
depth1
children1
net_rshares27,095,681,688
last_payout2018-10-01 11:42:24
cashout_time1969-12-31 23:59:59
total_payout_value0.027 SBD
curator_payout_value0.007 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length192
author_reputation508,940,095,151,809
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@jga ·
Thanks for reading 👍
I know some basics about react !
properties (22)
post_id63,207,272
authorjga
permlinkre-surpassinggoogle-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t141009880z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 14:10:15
last_update2018-09-24 14:10:15
depth2
children0
net_rshares0
last_payout2018-10-01 14:10:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length53
author_reputation31,866,424,217,867
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@nothingismagick ·
Just wondering why you didn't try to build this with the Quasar Framework...
👍  
properties (23)
post_id63,200,520
authornothingismagick
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t124124993z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-09-24 12:41:36
last_update2018-09-24 12:41:36
depth1
children2
net_rshares12,044,901,791
last_payout2018-10-01 12:41:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length76
author_reputation4,244,023,478,179
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jga ·
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.
properties (22)
post_id63,208,029
authorjga
permlinkre-nothingismagick-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t141948444z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-09-24 14:19:48
last_update2018-09-24 14:19:48
depth2
children1
net_rshares0
last_payout2018-10-01 14:19:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length203
author_reputation31,866,424,217,867
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@nothingismagick ·
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.
properties (22)
post_id63,209,752
authornothingismagick
permlinkre-jga-re-nothingismagick-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t144002632z
categoryutopian-io
json_metadata{"links":[],"image":[],"community":"busy","app":"busy\/2.5.6","users":[],"format":"markdown","tags":["utopian-io"]}
created2018-09-24 14:40:18
last_update2018-09-24 14:40:18
depth3
children0
net_rshares0
last_payout2018-10-01 14:40:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length320
author_reputation4,244,023,478,179
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sorin.cristescu ·
This is absolutely great !
👍  
properties (23)
post_id63,204,073
authorsorin.cristescu
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t132928940z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 13:29:30
last_update2018-09-24 13:29:30
depth1
children1
net_rshares11,924,452,773
last_payout2018-10-01 13:29:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length26
author_reputation163,849,244,963,971
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jga ·
Thanks Sorin :)
properties (22)
post_id63,208,107
authorjga
permlinkre-sorincristescu-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t142031227z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"]}
created2018-09-24 14:20:33
last_update2018-09-24 14:20:33
depth2
children0
net_rshares0
last_payout2018-10-01 14:20:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length15
author_reputation31,866,424,217,867
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@emrebeyler · (edited)
$9.96
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](https://join.utopian.io/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](https://review.utopian.io/result/3/2222222).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , ,
properties (23)
post_id63,207,654
authoremrebeyler
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t141453585z
categoryutopian-io
json_metadata{"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/2222222","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"users":["jga"],"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 14:14:54
last_update2018-09-25 10:06:33
depth1
children3
net_rshares7,276,746,455,141
last_payout2018-10-01 14:14:54
cashout_time1969-12-31 23:59:59
total_payout_value7.615 SBD
curator_payout_value2.343 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,070
author_reputation319,480,565,467,431
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (8)
@emrebeyler ·
self-upvoted to surpass bots, and unrelated comments.
👍  
properties (23)
post_id63,207,727
authoremrebeyler
permlinkre-emrebeyler-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t141542075z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 14:15:42
last_update2018-09-24 14:15:42
depth2
children0
net_rshares2,078,161,211
last_payout2018-10-01 14:15:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length53
author_reputation319,480,565,467,431
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jga ·
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.
properties (22)
post_id63,214,641
authorjga
permlinkre-emrebeyler-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t153606831z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 15:36:09
last_update2018-09-24 15:36:09
depth2
children0
net_rshares0
last_payout2018-10-01 15:36:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length246
author_reputation31,866,424,217,867
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Thank you for your review, @emrebeyler!

So far this week you've reviewed 4 contributions. Keep up the good work!
properties (22)
post_id63,412,449
authorutopian-io
permlinkre-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t141453585z-20180930t145131z
categoryutopian-io
json_metadata{"app":"beem\/0.20.1"}
created2018-09-30 14:51:33
last_update2018-09-30 14:51:33
depth2
children0
net_rshares0
last_payout2018-10-07 14:51:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length113
author_reputation152,913,012,544,965
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@honoru ·
$0.05
it is a great idea to use steem blockchain!!!

Posted using [Partiko Android](https://steemit.com/@partiko-android)
👍  ,
properties (23)
post_id63,212,765
authorhonoru
permlinkhonoru-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t151436232z
categoryutopian-io
json_metadata{"app":"partiko"}
created2018-09-24 15:14:36
last_update2018-09-24 15:14:36
depth1
children1
net_rshares35,954,943,686
last_payout2018-10-01 15:14:36
cashout_time1969-12-31 23:59:59
total_payout_value0.038 SBD
curator_payout_value0.009 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length115
author_reputation562,341,325,190,349
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@honoru ·
but, i also don't like to use active key.
properties (22)
post_id63,213,258
authorhonoru
permlinkre-honoru-honoru-re-jga-pet-qr-tags-powered-by-steem-1537504559183-20180924t151930994z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2018-09-24 15:19:33
last_update2018-09-24 15:19:33
depth2
children0
net_rshares0
last_payout2018-10-01 15:19:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length41
author_reputation562,341,325,190,349
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@healthiswealth ·
$0.07
Hi @jga,
Fantastic Idea.
I signed my cat up.
I look forward to Integration with SteemConnect.
Keep up the GREAT WORK.
👍  ,
properties (23)
post_id69,166,971
authorhealthiswealth
permlinkre-jga-pet-qr-tags-powered-by-steem-1537504559183-20190122t163925861z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["jga"],"app":"steemit\/0.1"}
created2019-01-22 16:39:27
last_update2019-01-22 16:39:27
depth1
children0
net_rshares145,870,174,731
last_payout2019-01-29 16:39:27
cashout_time1969-12-31 23:59:59
total_payout_value0.054 SBD
curator_payout_value0.017 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length117
author_reputation49,229,136,963,919
root_title"Pet QR tags powered by Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)