Content pfp
Content
@
0 reply
0 recast
0 reaction

Joshua Hyde pfp
Joshua Hyde
@jrh3k5.eth
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.
3 replies
0 recast
1 reaction

killjoy.eth 🎩  pfp
killjoy.eth 🎩
@killjoy
I would just create additional user profiles in chrome and setup a new MetaMask wallet within each profile.
1 reply
0 recast
1 reaction

Joshua Hyde pfp
Joshua Hyde
@jrh3k5.eth
I *think* it may be just easier to build a mock implementation as a locally-running HTTP server. This may turn out to be one of those "because we thought it'd be easy" kind of things.
2 replies
0 recast
0 reaction

killjoy.eth 🎩  pfp
killjoy.eth 🎩
@killjoy
You actually don’t even need to setup a new metamask wallet, just import the same one within each profile. As long as each browser instance is running within a distinct user profile changing the active account in one window won’t change the account in another window.
1 reply
0 recast
1 reaction

Joshua Hyde pfp
Joshua Hyde
@jrh3k5.eth
Eenteresting. I'll have to give that a try - thank you!
0 reply
0 recast
0 reaction