async isValidSignature (address) {
    return db
      .get(address)
      .then(value => {
        value = JSON.parse(value)
        return value.messageSignature === 'valid'
      })
      .catch(() => {
        throw new Error('Not authorized')
      })
  }
// Check if signature is a signature valid
Check if signature is a signature valid
Check if signature is a signature valid
async isValidSignature (address) {
    return db
      .get(address)
      .then(value => {
        value = JSON.parse(value)
        return value.messageSignature === 'valid'
      })
      .catch(() => {
        throw new Error('Not authorized')
      })
  }
async isValidSignature ( address ) { return db . get ( address ) . then ( value => { value = JSON . parse ( value ) return value . messageSignature === 'valid' } ) . catch ( ( ) => { throw new Error ( 'Not authorized' ) } ) }
Check if signature is a signature valid
Check if signature is a signature valid