r001 / qr-encoding Goto Github PK
View Code? Open in Web Editor NEWDescription of efficient Ethereum transaction QR encoding scheme
Description of efficient Ethereum transaction QR encoding scheme
Copied from: MetaMask/metamask-extension#5640
I have few objections to your current version, sorry, haven't had time earlier to list them.
ethereum:
URI scheme. I think it won't be bad to use the same protocol. ethereum/EIPs#67As I understand, URI scheme should say, which app you should launch, and not what's inside the link (e.g. Microsoft Office links, https://docs.microsoft.com/en-us/office/client-developer/office-uri-schemes). If it's so, ethereum:
is a good match.
What about backwards compatibility with existing ethereum:
QR code reader apps? It defines the link which can contain a destination address, amount and even contracts' ABI.
As argued in the EIP67 linked thread, it makes sense to make the link human-readable. What if we use ethereum:0xDE571NA710NADD5E55?nonce=145&amount=0.5
and then build the transaction on the device? The only change from EIP67 then would be the additional nonce parameter.
Remove error check
(del) okay, that makes sense, but worth discussing again. Probably, better use case-checksum, like in ethereum addresses?
References: ethereum/EIPs#831, ethereum/EIPs#67, ethereum/EIPs#681
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.