Closed vis1onn closed 2 weeks ago
full code
import { createAppKit } from '@reown/appkit'; import { EthersAdapter } from '@reown/appkit-adapter-ethers'; import { mainnet, bsc, polygon, avalanche, arbitrum, optimism, fantom, base, zkSync, } from '@reown/appkit/networks';
this.metadata = {
name: document.title,
description: 'Web3 Application',
url: https://${window.location.host}
,
icons: ['https://avatars.githubusercontent.com/u/179229932'],
};
this.modal = createAppKit({
adapters: [new EthersAdapter()],
networks: [
mainnet,
bsc,
polygon,
avalanche,
arbitrum,
optimism,
fantom,
base,
zkSync,
],
metadata: this.metadata,
projectId: import.meta.env.APPKIT_PROJECT_ID,
features: {
email: false,
socials: [],
analytics: true,
},
});
connect() { this.modal.open(); }
SCAM link above
@vis1onn Thank you for the report. Will relay this to cloud team to review if something is off with the explorer where we get the wallets from.
Question: What network were you on when this happened? This might help debug this 🙏
Also reported the comment above. 🫡
@tomiir thanks for the help, I didn't find what the problem was, but I found that only I have this problem
Link to minimal reproducible example
this.metadata = { name: document.title, description: 'Web3 Application', url:
https://${window.location.host}
, icons: ['https://avatars.githubusercontent.com/u/179229932'], }; this.modal = createAppKit({ adapters: [new EthersAdapter()], networks: [ mainnet, bsc, polygon, avalanche, arbitrum, optimism, fantom, base, zkSync, ], metadata: this.metadata, projectId: import.meta.env.VITE_APPKIT_PROJECT_ID, features: { email: false, socials: [], analytics: true, debug: true, }, debug: true, });Summary
MetaMask no longer injects web3. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
The option to connect metamask has disappeared from the list of options
an error appeared in the console
20 minutes ago everything worked no changes were made, it just stopped working with this error
not working also with 1.1.8 version
List of related npm package versions
"@reown/appkit": "^1.2.1", "@reown/appkit-adapter-ethers": "^1.2.1",