Skip to main content

Deep Links and External QR Codes (e.g. System Camera)

info

This page refers to QR codes and deep links that are signed and submitted to the blockchain via the Helium App. Makers should not use the following information and instead use the Helium React Native SDK to sign and submit transactions in their maker app.

To generate a QR code to scan, find a service to generate a QR code using the url's below. This is an example site: https://www.qr-code-generator.com

View Hotspot

helium://hotspot/:address

Add Gateway

helium://add_gateway/:base64url_encoded_txn

Users can read more on how to generate an add_gateway transaction from the Makers Guide > Hotspot Integration.

Assert Location

// TODO: Not yet implemented

Internal QR Scanner

To generate a QR code to scan, find a service to generate a QR code using the json data below. This is an example site: https://www.qr-code-generator.com

Burn HNT

Memos are base64 encoded strings with a max size of 8 bytes.

Generated from console

{
  "type": "dc_burn",
  "address": ":address",
  "amount": "1.00",
  "memo": "n0XU06JdNNs="
}

Payment

Memos are base64 encoded strings with a max size of 8 bytes.

Single Payee without memo

{
  "type": "payment",
  "address": ":address",
  "amount": 1
}

Single Payee with memo

{
  "type": "payment",
  "address": ":address",
  "amount": 1,
  "memo": "n0XU06JdNNs="
}

Multiple Payee without memo

{
  "type": "payment",
  "payees": {
    ":address1": 10.2,
    ":address2": 1.2
  }
}

Multiple Payee with memo

{
  "type": "payment",
  "payees": {
    ":address1": {
      "amount": 10.2,
      "memo": "n0XU06JdNNs="
    },
    ":address2": {
      "amount": 1.2,
      "memo": "n0XU06JdNNs="
    }
  }
}

Wallet address QR code

Create a qr code with a valid wallet address

12ORy9GjFASqWWxHmUq4tNXcjvr5Xfno8qimGMrNReMsSaM9T8f