0

I recently encountered both of these and I'm not able to find the difference between them. Are these the same or do they have some differnces?

1 Answer 1

2

Basic difference among these two is basically that ethers.getSigners() returns Signer objects for accounts managed by ethers, while provider.getSigners() returns Signer objects for all accounts available on the connected Ethereum node

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.