First, I have to say Anchor wallet is awesome, packed with features and easy to use. Greymass is doing a fantastic job developing this tool.
I am having trouble integrating Anchor wallet for signing transactions. I currently use UAL libraries, supporting multiple wallets. Login works across the board, however, when I try to use Anchor to sign any transaction, I get the popup with count down timer saying “Please open Anchor app on chnor Desktop to review and sign the transaction.”. However, when I switch to Anchor desktop, I don’t see any prompt to sign transaction. The same code works with Scatter wallet.
Here is my code snippet of how to trigger transaction signing, user is the authenticator object from UAL.
const transaction = {
actions: [{
account: ‘eosio.token’,
name: ‘transfer’,
authorization: [{
actor: user.accountName,
permission: ‘active’,
}],
data: {
from: user.accountName,
to: this.pool.account,
quantity: 1.0000 EOS
,
memo: Test
}
}]
}
return user.signTransaction(transaction, {})
Anyone knows why Anchor wallet not prompting to sign the transaction?