You are viewing a single comment's thread from:

RE: Vessel 0.2.0 - Interact with Steem securely from any website

in #vessel7 years ago

How about simplified URLs too?

For example, I don't want to generate a crazy transaction just to let users send STEEM, so how about something like:

steem://send/anonsteem?amount=10&currency=steem
Sort:  

We could absolutely start adding more and more routes like that to simplify things. If anything, I'd probably end up mirroring the steemconnect links so that they're interchangeable. The base64 route was the path of least resistance, since I could use a single route (/sign/tx) to do every single operation.

It's also not all that hard to actually create these links:

const base64_ops = window.btoa([
  [
    "transfer",
    {
      "amount": "10.000 STEEM",
      "from": "",
      "memo": "",
      "to": "anonsteem"
    }
  ]
])
const base64_app = window.btoa({})
const url = `steem://sign/tx/${base64}#${base64_app}`