CFBundleURLTypes
key in your Info.plist file.
WalletConnectRouter.goBack(uri: uri)
facilitates automatic redirection.
Redirect
signer.sendTransaction
should be avoided in favor of
signer.sendUncheckedTransaction
TransactionResponse
object.
sendUncheckedTransaction
returns
a mock transaction response that only contains the hash
property and a wait
method. All other properties are null
.to
property should be a plain address rather than an ENS name
provider.resolveName
ahead of time, storing the result before the user attempts to send a transaction.
Do not resolve ENS names in the event handler.gasLimit
property should be set
sendTransaction
which automatically
estimates the gas limit if it’s missing.
sendTransaction
,
you should manually run provider.estimateGas
ahead of time, storing the result before the user attempts to send the transaction.
Do not estimate gas in the event handler.contract.METHOD_NAME
should be avoided if favor of calling
contract.populateTransaction.METHOD_NAME
ahead of time, then sending the populated transaction with
signer.sendUncheckedTransaction
.