Generating Bitshares QR codes & scanning them with BEET for blockchain broadcast

in #bitshares2 years ago

QR codes!

Why care about QR codes? They're old tech right? Hell no!

QR codes enable you to do the following:

  • Introduce air gaps between your blockchain intentions and your blockchain keys
  • Use a different key manager than UIs intend.
  • Save an operation & its variables for later use
  • Publicly placing a QR code for donations from the public

So where can you find one of these QR codes?

In the Bitshares web wallet, when you're performing a blockchain operation, just prior to submitting to the blockchain there will be a QR code icon which you can use to broadcast the operation to the blockchain without proceeding further with the web wallet.

Alternatively, you can quickly generate a QR code using the brand new Bitshares QR code generation repo: https://github.com/BTS-CM/BTS-QRCodes

This repo has examples for all non-virtual Bitshares operations, all you need to do is edit the operation files to include your desired variables prior to running the script. Once edited, run the index script, select the operation, then the QR code will be generated in the output folder.

So, rather than having to run a web app, you can fully construct QR codes offline for later scanning purposes; this introduces potential for far more secure blockchain operation procedures, negating entire attack vectors.

Want to see what this looks like? Check out the following animation demonstrating the generation then utilization of a Bitshares QR code:

qr.gif

Huzzah! Successfully broadcast an operation!

Interested? Currently it's only for Bitshares but I'm sure it could support other cryptos in the future.

These developments were funded by the Bitshares committee and were implemented by the nftea gallery.