The platform that MetaGame will be played on aka MetaOS - an open source framework for running decentralized societies. Currently featuring MyMeta Profiles, Dashboard & Quests
Downgrades ethers to v5 for compatibility with Quest Chains.
Specifically, when v5's Provider.isProvider() is called with a v6 Provider, it returns false, causing the contract loading to not work correctly.
Follow up Improvement Ideas
Quest Chains needs to be updated to ethers v6 (which was released almost two years ago) because v5 is incompatible with other libraries like the Ethereum Attestation Service.
Implementation
Most everything present in v6 was also present in v5, but the import paths are different.
Switched from BrowserProvider to Web3Provider which is roughly equivalent.
Overview
What features/fixes does this PR include?
Downgrades
ethers
to v5 for compatibility with Quest Chains.Specifically, when v5's
Provider.isProvider()
is called with a v6Provider
, it returnsfalse
, causing the contract loading to not work correctly.Follow up Improvement Ideas
Quest Chains needs to be updated to
ethers
v6 (which was released almost two years ago) because v5 is incompatible with other libraries like the Ethereum Attestation Service.Implementation
Most everything present in v6 was also present in v5, but the import paths are different.
Switched from
BrowserProvider
toWeb3Provider
which is roughly equivalent.