Wallet Feature request: bis:// url #199
Comments
How do we approach this? What kind of hooks and integration does it require? |
I think there are 2 parts: 1/ Manually paste those urls in the wallet, via a new field. It's just for convenience: only one string (with embedded checksum) instead of 3 strings to copy/paste. 2/ See, at OS level (maybe large diff win/linux) if the wallet can directly register those urls and act upon a browser click. Will have to research if a python module does this. |
Or, step 1 could be just a button "paste bis:// url". |
that's cool , and this is my idea |
the master node is public IP, this node can be NAT node , messages can through diff NAT nodes to client. |
Thanks @flyfire100 for your link and proof of concept, but I don't see how this relates to this issue. This issue is about a single string that would embed all necessary info to send a transaction, and assurance that all info is coherent. |
@EggPool I misunderstanding ,sorry, I think you are talking about use URL as BIS address. |
Aaaah, I see! So basically this is about a coherent string that means transaction. There already is something like that on the functional level: (amount_input, recipient_input, openfield_input), so it could be bis://10:edf2d63cdf0b6275ead22c9e6d66aa8ea31dc0ccb367fad2e7c08a25:msg=684654 I will add this to the wallet, if you agree on the format, might have to use different separators |
Yes, whatever the format, but with the added value of a checksum that makes sure the string was unaltered. bis://COMMAND/PARAMS/CHKSUM bis://CHKSUM/COMMAND/PARAMS Then on this base, transactions are ok, It's a generic abstraction for all wallet related functions, safer because of the format and checksum. |
I see you have put a lot of thought to it, checksum is definitely a good idea |
checksum needs to be something else than b64 because of the short static length for different strings (no hashing, no shuffle), suggesting MD5 (open to suggestions) |
added a proposal here 7db0c82 |
Sure. b64 is not a hash. I was thinking of a hash, crc32 or md5, but we don't need the full length hash. |
Proposal Looks almost good, added a comment to shrink the size further. |
Basic implementation finished |
Add some kind of bis url, to request a payment.
Could be generalized to other operations than pay
Ex:
bis://pay/recipient/amount/openfield/checksum
checksum is a small hex or b64 checksum of the params, to guarantee the whole info is there, not cut.
Then, from a wallet we just paste this url, it auto fills all fields and ask for confirmation.
The text was updated successfully, but these errors were encountered: