Advanced
Joshua Hyde 🔵@jrh3k5
7/19/2023

Is there a way to test a Dapp locally with Hardhat and multiple (4+) wallets connected concurrently? Been getting by with 3 (CB Wallet on Chrome and Brave, Metamask on Firefox), but now I need to test with 4+ wallets.

In reply to @jrh3k5
Joshua Hyde 🔵@jrh3k5
7/19/2023

May just end up writing a mock backend for local testing so that my testing isn't limited by how many distinct wallets I have that can sign transactions.

In reply to @jrh3k5
killjoy.eth@killjoy
7/20/2023

I would just create additional user profiles in chrome and setup a new MetaMask wallet within each profile.

In reply to @jrh3k5
Michael Pfister@pfista
7/20/2023

Doesn’t really answer your question about hardhat, but Foundry makes it really easy to spin up a virtual blockchain and gives you 10 wallets to mess with during development