-
Notifications
You must be signed in to change notification settings - Fork 31
Missing data parameter ? #12
Comments
@Reminouche , hi Currently supported URI scheme: If you need to invoke specific method of the contract - please, see this part of readme: https://github.com/jibrelnetwork/ethereum-qr-code#2-invoke-function-of-a-contract What is the reason to support |
Yea i saw your invoke function feature, but imagine : I have a web application wich needs to pass some parameters to ether contract. If user interacts with your contract via a qr code, there are no problems (user passes data with function parameters). But if he wants to send a transaction directly from a eth wallet (online web wallet for example), it is a little bit complex for a user to format a correct json into data message field. I think it could be easier for him to send hexacode directly in data. |
We miss something QR code used to transfer info between two apps.
Generally, you can use anything to pack data. A text file will work just fine. The user is not able to interact with the contract via QR code. If you develop app A1 and need to pass some data to the contract - just use field Real use case: you come to the shop and want to buy bread with some TOKEN
As I see, there is no place for compiled |
Also, I do not know about widely used Ethereum wallets that support QR codes and |
Closing for now, since there was no activity on this issue for 3 days. |
Hi,
In your encodeEthSend() function, I think you forgot to set data parameter in default mode.
ethereum:<address>[?value=<value>][?gas=<suggestedGas>][?data=<bytecode>]
If you wish I can try to propose a pull request for that.
The text was updated successfully, but these errors were encountered: