obyte:
protocol URI for that. If you are not aware what it is then it's like mailto:
, ftp:
, 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_ADDRESS
should be replaced with the wallet address where the funds should be sent, amount
parameter should have bigInt
type number in bytes (not KByte, not MByte, not GByte) and asset
parameter is optional, by default it is base
for bytes, but it can be issued asset unit ID too.single_address=1
parameter like this:JSON.stringify
, btoa
andencodeURIComponent
) 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=1
parameter. Autonomous agents can also accept nested data.definition
parameter needs to be URL encoded.content
parameter 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_secrets
database 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.obyte:
protocol, use obyte-tn:
. This can be easily controlled in your bot's code like this: