GithubHelp home page GithubHelp logo

qr-library's Introduction

qr-library's People

Contributors

adriacarrera avatar anthonylaw avatar decentraliser avatar dependabot[bot] avatar dgarcia360 avatar evias avatar fboucquez avatar irshadpc avatar rg911 avatar yilmazbahadir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qr-library's Issues

Feature request: Enable creating a QR code from any object

There are several methods available to create a QR code, however, they all have a generationHash and a networkType as arguments

For this library to be complete, it would be good to be able to create a "free" QR code, so an app using the library when needing to represent a random object as a QR code

Rebranding

  • Rebranding branch created
  • New design applied (font, logos, colors)
  • Codename references renamed
  • Ticker references renamed
  • Links reviewed
  • README reviewed
  • PR created
  • Package renamed
  • Package deployed/tag created

about MnemonicQR argument in README.md

I Think

not
new MnemonicQR(mnemonic, password, NetworkType.MIJIN_TEST, 'no-chain-id');

but
new MnemonicQR(mnemonic, "password", NetworkType.MIJIN_TEST, 'no-chain-id');

it seems that password needs quotation.

QR Codes containing more data(level > 13) such as MnemonicQR are unreadable

Error Description
When I try to read an exported MnemonicQR code in one of the Online QR Code Readers(i.e https://webqr.com ) or try to read with JS QRCode libraries (jsQR, vue-qrcode-reader), it fails to read(relatively small size QR codes succeed).

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'Account' page
  2. Click on 'Backup Mnemonic'
  3. Download 'MnemonicQR Code'
  4. Open a browser and navigate to https://webqr.com
  5. Upload the downloaded MnemonicQR Code
  6. See the result => error decoding QR Code

To reproduce with js QR libraries:

Expected behavior
Content of the QR Code should be shown

Screenshots & Attachments

mnemonicqr-doesntwork:
mnemonicqr-doesntwork

transactionqr-with-231-chars-message-doesnt-work:
transactionqr-with-231-chars-message-doesnt-work

image

qrcode-with-less-data-works:
account-qr

Remove SDK hard dependency

Atm, this library depends on the TS SDK. Each SDK release requires a release of this library which is annoying. Especially when working on bigger clients like the desktop wallet where different SDK versions are referenced.

If the library references interfaces instead of contract SDK objects, the dependency management would be a lot simpler. The SDK could be a dev dependency for unit test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.