Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR code as NFT visual? #10

Open
mjohnson518 opened this issue Sep 4, 2021 · 5 comments
Open

QR code as NFT visual? #10

mjohnson518 opened this issue Sep 4, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request Idea introducing idea to discuss

Comments

@mjohnson518
Copy link
Owner

Kicking around the idea of generating a qr code based on the url of the ipfs cid to act as the visual component of the erc-721's.

QR = https://gateway.ipfs.io/ipfs/${CID.path}

@mjohnson518 mjohnson518 added the Idea introducing idea to discuss label Sep 4, 2021
@brossetti1
Copy link
Collaborator

potential api for this

https://goqr.me/api/

@mjohnson518
Copy link
Owner Author

mjohnson518 commented Sep 5, 2021

Need to make a get call to http://api.qrserver.com/v1/create-qr-code/?data=%7Binsert_url_here%7D&size=100x100

@Spazzaroth are you looking to tackle this?

@mjohnson518 mjohnson518 added the enhancement New feature or request label Sep 5, 2021
@MrDeadCe11
Copy link
Collaborator

yeah, as soon as we have the ipfs address we can plug it into that api and get the qr code. can even change the size of it etc.

@brossetti1
Copy link
Collaborator

was looking at the docs and realized i could grab all the params easily - just adding this here for reference:

https://api.qrserver.com/v1/create-qr-code

param_data
param_size
param_charsetsource
param_charsettarget
param_ecc
param_color
param_bgcolor
param_margin
param_qzone

param_data - https://goqr.me/api/doc/create-qr-code/#param_data
param_size - https://goqr.me/api/doc/create-qr-code/#param_size
param_charsetsource - https://goqr.me/api/doc/create-qr-code/#param_charsetsource
param_charsettarget - https://goqr.me/api/doc/create-qr-code/#param_charsettarget
param_ecc - https://goqr.me/api/doc/create-qr-code/#param_ecc
param_color - https://goqr.me/api/doc/create-qr-code/#param_color
param_bgcolor - https://goqr.me/api/doc/create-qr-code/#param_bgcolor
param_margin - https://goqr.me/api/doc/create-qr-code/#param_margin
param_qzone - https://goqr.me/api/doc/create-qr-code/#param_qzone

https://api.qrserver.com/v1/read-qr-code

param_fileurl
param_file
param_outputformat

param_data - https://goqr.me/api/doc/read-qr-code/#param_fileurl
param_size - https://goqr.me/api/doc/read-qr-code/#param_file
param_charsetsource - https://goqr.me/api/doc/read-qr-code/#param_outputformat

@brossetti1
Copy link
Collaborator

not sure if this is useful but looks useful

ethereum/EIPs#945

youtube demo
implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Idea introducing idea to discuss
Projects
None yet
Development

No branches or pull requests

3 participants