Safe wallet integration error

When the user clicks “Connect Wallet”, the dApp prompts to select a Safe wallet. After choosing the Safe wallet and selecting a private wallet (e.g., MetaMask), the app asks for the Safe address and network.

Upon clicking “Connect to Safe”, the following error appears in the console:

useBuyWithCryptoStat….browser.esm.js:216
Error connecting to wallet: Error: __classPrivateFieldGet(…).getNetwork is not a function
safeWallet-c3871ee1.browser.esm.js:158
Error: __classPrivateFieldGet(…).getNetwork is not a function
at _SafeWallet._connect (base-a72d5b10.browser.esm.js:266:13)
at async _SafeWallet.connect (base-a72d5b10.browser.esm.js:214:21)
at async useBuyWithCryptoStat…rowser.esm.js:213:7
at async handleSubmit (safeWallet-c3871ee1.browser.esm.js:151:7)

Hi there. You may also, post your question here - https://ethereum.stackexchange.com/questions/tagged/safe-core Please be as detailed as possible and don’t forget to add safe-core tag to your question

StackOverflow’s guide to asking a good question may be helpful: How do I ask a good question? - Help Center - Stack Overflow

1 Like