Developer (English)
  • Get Started
  • Wallet
    • ​Ready to start
    • Mobile SDK
      • iOS
      • Android
    • EOS MiniWallet SDK
      • iOS
      • Android
    • ​Pull up wallet with DeepLink
    • JS-SDK
    • EOS resource payment
    • Debug DApp
    • Clear Cache
  • Extension Wallet
    • Guide
      • Introduction
      • Getting Started
      • Common Terms
      • Initialize the DApp
      • Access account
      • Send transaction
    • API Reference
      • Ethereum Provider API
      • Tron Provider API
      • RPC API
      • Signing Data
  • QRCode Protocol
    • Dynamic QRCode
    • EVM network
    • TRON
    • EOSIO
    • Solana
    • BTC
  • TIP Protocol
  • Wallet Connect
  • Token
    • Token price display support
    • How to submit token
    • How to Submit a Token Logo
    • FAQ
  • DApp
    • How to Submit DApps
    • FAQ
  • Network
    • Blockchain Unique Identifier
    • Supported Chains
      • Transaction Data
    • New Blockchains
      • Lite add blockchain
      • Basic support introduction and demonstration
      • Adding Advanced blockchain
      • Adding custom blockchain
  • FAQ
Powered by GitBook
On this page
  • How to use
  • Normative References
  1. QRCode Protocol

Dynamic QRCode

The dynamic qrcode is used to solve the problem of too much data in one picture

tp:multiFragment-version=1.0&protocol=TokenPocket&data={
	"content": "0000000000004454F5300000000008_32342342", //fragment
	"index": "5/7" //5 is the current fragment index, 7 is fragment amount
}

tp:multiFragment //action
content //fragment content + "_" + full data crc32
index 

How to use

Here is a demo to show how to use TokenPocket dynamic qrcode protocol to show data: aaaaabbbbbbbbbbbccccccccccccddddddddddddddeeeeeeeeeeeeeee

  • First split the full data to two parts : 1 aaaaabbbbbbbbbbbcccccccccccc 2 ddddddddddddddeeeeeeeeeeeeeee

  • Generate fragments with TokenPocket dynamic qrcode


tp:multiFragment-version=1.0&protocol=TokenPocket&data=
    { 
        "content": "aaaaabbbbbbbbbbbcccccccccccc_3207688794",
        "index": "0/2"
    }
tp:multiFragment-version=1.0&protocol=TokenPocket&data=
    { 
        "content": "aaaaabbbbbbbbbbbcccccccccccc_3207688794",
        "index": "1/2"
    } 
  • Generate picture with fragment data, and then get Gif or other video file with the all pictures

Normative References

PreviousQRCode ProtocolNextEVM network

Last updated 2 years ago

https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md