Methods
Static createAddContact
- createAddContact(name: string, accountPublicKey: string, networkType: number, generationHash: string): ContactQR
Parameters
name: string
accountPublicKey: string
networkType: number
generationHash: string
Static createExportAccount
- createExportAccount(accountPrivateKey: string, networkType: number, generationHash: string, password?: string): AccountQR
Parameters
accountPrivateKey: string
networkType: number
generationHash: string
Optional password: string
Static createExportAddress
- createExportAddress(name: string, address: string, networkType: number, generationHash: string): AddressQR
Parameters
name: string
address: string
networkType: number
generationHash: string
Static createExportMnemonic
- createExportMnemonic(mnemonicPlainText: string, networkType: number, generationHash: string, password: string): MnemonicQR
Parameters
mnemonicPlainText: string
networkType: number
generationHash: string
password: string
Static createExportObject
- createExportObject(object: object, networkType: number, generationHash: string): ObjectQR
Parameters
object: object
networkType: number
generationHash: string
Static createTransactionRequest
Parameters
networkType: number
generationHash: string
Static fromJSON
- fromJSON(json: string, transactionCreateFromPayload: (payload: string) => ITransaction, password?: string, signedTransactionCreateFromPayload?: (payload: string) => ISignedTransaction, cosignatureSignedTransactionCreateFromPayload?: (payload: string) => any): QRCode
Parameters
json: string
transactionCreateFromPayload: (payload: string) => ITransaction
Optional password: string
Optional signedTransactionCreateFromPayload: (payload: string) => ISignedTransaction
Optional cosignatureSignedTransactionCreateFromPayload: (payload: string) => any
Class
QRCodeGenerator
describes a NIP-7 compliant QR Code generator (factory).0.2.0