'Sign payment request with an OpenAlias'

@command('wp')
def signrequest(self, address, password=None):

    alias = self.config.get('alias')
    if (not alias):
        raise BaseException('No    alias    in    your    configuration')
    alias_addr = self.wallet.contacts.resolve(alias)['address']
    self.wallet.sign_payment_request(address, alias, alias_addr, password)
