obyte:protocol URI for that. If you are not aware what it is then it's like
tel:or intents on Android. When user visits a link with that protocol then it can open the wallet app in specific screen with pre-filled inputs, helping users to insert long account addresses or amounts without the need to copy-paste them.
ACCOUNT_ADDRESSshould be replaced with the wallet address where the funds should be sent,
amountparameter should have
bigInttype number in bytes (not KByte, not MByte, not GByte) and
assetparameter is optional, by default it is
basefor bytes, but it can be issued asset unit ID too.
single_address=1parameter like this:
encodeURIComponent) string. Many cases, when the Autonomous Agent stores data based on triggering address, we would also want the users to use single-address account, this can by adding the
single_address=1parameter. Autonomous agents can also accept nested data.
definitionparameter needs to be URL encoded.
contentparameter needs to be URL encoded and can be maximum of 140 chars before encoding.
obyte:protocol). Just make sure each user on your webiste has access to textcoins specifically generated for them. Otherwise, if all users see the same textcoins then it can become a rush to who claims the textcoins first.
obyte:protocol inside the hyperlink.
pairing_secretsdatabase table with all the possible commands, but if there could be indefinite number of valid commands then easiest would be to accept any pairing secret and use them as custom commands.
obyte:protocol is not only for websites, it could be used in physical world too with QR code. This means you if users have Obyte app installed and they scan any QR code that contains any of the above codes (just value of the href, without quotes and without the HTML around them) then installed Obyte app will open the same way. QR code is not just meant to be printed on paper, it can work on websites too, giving the users the ability to use your services cross-device (browse the website on laptop, scan QR code with phone and complete payment on phone).
obyte:protocol link using jQuery.