Developer Questions

Ask a Question
Back to All

Problem of sign in payload

hey team we are trying to integrate XUMM for our website in web browser. we need to sign a customised hash in order to go through. however the following code does not wake up any QR code process. Can you help give some idea?


const subscription = await this.xumm.payload.createAndSubscribe({
custom_meta: {
instruction: hash.hash,
txjson: {
TransactionType: "SignIn",
}, event => {
console.log('New payload event:',
if ( === true) {
console.log('Woohoo! The sign request was signed :)')
this.doLogin(, userAccount,hash)

    if ( === false) {
      console.log('The sign request was rejected :(')
      return false