Add one more tab on the left, so scanning becomes a main tab, rather than upper right corner thing.
I think scanning may be a main use of the application, so having it as a tab is justified.
Also the upper right corner is awkward and hard to hit with one hand. It's OK for something like profile that we don't use in day to day operations, but not for a main function.
Functionality
Scan a QR code - if a QR code cannot be parsed by the app, it is ignored (unknown QR code). We just keep scanning.
If a QR code can be parsed by the app, we parse it, and show a screen with the encoded transaction
So we will show - similar to Seeds Light Wallet - a set of data for each action.
There can be multiple actions encoded in a single QR code. (example, uniswap, etc)
We show a list of actions
Each action has
Pallet (same as contract on EOS)
Extrinsic (same as action on EOS)
List of 0..N parameters (same as list of parameters on EOS, it could be anywhere from zero to N parameters, but likely N is < 10).
I believe we can retrieve parameter names from chain but not 100% sure about that.
On Polkadot JS, in the generic extrinsic call user interface, the parameters are named.
Scan QR code user interface.
Spec
Add one more tab on the left, so scanning becomes a main tab, rather than upper right corner thing.
I think scanning may be a main use of the application, so having it as a tab is justified.
Also the upper right corner is awkward and hard to hit with one hand. It's OK for something like profile that we don't use in day to day operations, but not for a main function.
Functionality
So we will show - similar to Seeds Light Wallet - a set of data for each action.
There can be multiple actions encoded in a single QR code. (example, uniswap, etc)
We show a list of actions
Each action has
Pallet (same as contract on EOS) Extrinsic (same as action on EOS) List of 0..N parameters (same as list of parameters on EOS, it could be anywhere from zero to N parameters, but likely N is < 10). I believe we can retrieve parameter names from chain but not 100% sure about that.
On Polkadot JS, in the generic extrinsic call user interface, the parameters are named.