PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, July 28, 2022

[FIXED] How to transfer ERC20 token through QR code?

 July 28, 2022     blockchain, erc20, ethereum, qr-code     No comments   

Issue

In Ethereum, we transfer through the following address:

ethereum:0x0223acdb0a45622daeb2444e842b5a007a402a44?value=1.01e18

But what should be done to transfer the token (eg DAI)? How to set the contract address and other things?


Solution

ERC-67 standard for payment QR codes never got any traction. I am not aware of any wallets that would support this features fully.

However you can get a better workflow for mobile payments with the following

  • QR code links to a mobile web page
  • This mobile web page is a web app
  • The mobile web page requests a payment using WalletConnect protocol
  • User will be prompted to 1) connect a wallet and then 1) make a transaction from the mobile wallet of their choice
  • Mobile page can fallback to additional payment and installation instructions if the user does not have any wallet installed


Answered By - Mikko Ohtamaa
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing