Closed wa0x6e closed 5 days ago
We wanted to implement it before, but it didn't work back then (the call was ignored), we should verify if it's functional.
Will check
Regarding different actions support for starknet wallets: https://github.com/starknet-io/get-starknet/issues/212
Like we already do for EVM, we should trigger a wallet network switch on Starknet when the action is not on the correct chain.
This will avoid invalid signature with Argent X, when signing message on a different chainId than the wallet (braavos can sign message on any networks).
The wallet is supporting the networks switch call, see https://github.com/argentlabs/argent-x/blob/0607c5e58742dd33b3737e898ca78e97d7c4fb44/packages/dapp/src/services/wallet.service.ts#L250-L260
Feature should be implemented once: