isValidSignature()
method, as per EIP-1271. A Dapp that wants to verify the signature of an Argent user should therefore call isValidSignature()
on the Argent wallet instead of ecrecover()
(as would be used to verify signatures from EOA accounts).isArgentWallet(address)
method that returns true if the code deployed at the input address matches a deployed version of the Argent wallet.{ to, value, data }
transaction to the web3 provider. This transaction will be transmitted to the Argent mobile application through Wallet Connect. The mobile wallet will transform the data into a meta transaction:to
will be the Argent RelayerManager
contract addressdata
will be the encoded data of the call to the execute()
method with the relevant parameterspermit()
method. If you look below (source Etherscan) at the Maker DAI implementation, you will notice at line 24 the use of ecrecover()
and not EIP-1271 to verify the signature. Here, the call will fail with Argent wallets.execute()
method of our RelayerManager
smart contract. You will have to get the wallet owner signing the correct payload which is not straightforward. Please contact us if you're interested in this topic. eth_estimateGas
before sending any transaction.