Open SergeyVolynkin opened 3 months ago
Hi @bluecco, @vladutjs Would it be possible to add an implementation of a MockConnector to be used with starknetkit, similar to what WalletConnect/wagmi provides
MockConnector
starknetkit
WalletConnect
wagmi
For example with WalletConnect it is possible run tests against mocked ETH wallet via
const wagmiConfig = createConfig({ autoConnect: true, connectors: [ new MockConnector({ chains: [sepolia], options: { flags: { isAuthorized: true, }, walletClient: createWalletClient({ account: mnemonicToAccount(testWallet.mnemonic), chain: sepolia, transport: http(), }), }, }), ], publicClient, });
Hi @bluecco, @vladutjs Would it be possible to add an implementation of a
MockConnector
to be used withstarknetkit
, similar to whatWalletConnect
/wagmi
providesFor example with WalletConnect it is possible run tests against mocked ETH wallet via