You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the EAS SDK uses ethers v6, and that gist is written for ethers v5 (it references a providers export of Ethers, which was moved in v6).
Attempting to install ethers v5 for that script results in an error in the SDK ("Incompatible ethers version detect. Make sure to use the SDK with ethers v6 or later"), so v6 has to be used.
Therefore, those hooks should be updated for ethers v6 and the documentation updated to include the newer option.
The text was updated successfully, but these errors were encountered:
The documentation at https://docs.attest.sh/docs/developer-tools/sdk-wagmi links to a gist at https://gist.github.com/slavik0329/2e5b6fc31cb745b65d3d37f7cf1d7b36 for hooks to use to convert wagmi objects for use with the EAS SDK (ethers).
However, the EAS SDK uses ethers v6, and that gist is written for ethers v5 (it references a
providers
export of Ethers, which was moved in v6).Attempting to install ethers v5 for that script results in an error in the SDK ("Incompatible ethers version detect. Make sure to use the SDK with ethers v6 or later"), so v6 has to be used.
Therefore, those hooks should be updated for ethers v6 and the documentation updated to include the newer option.
The text was updated successfully, but these errors were encountered: