Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Sepolia chainid support #1147

Open
GiuseppeF opened this issue Feb 12, 2024 · 1 comment
Open

[Feature Request] Sepolia chainid support #1147

GiuseppeF opened this issue Feb 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@GiuseppeF
Copy link

I might be wrong but seems to me that Sepolia chainid is missing

@GiuseppeF GiuseppeF added the enhancement New feature or request label Feb 12, 2024
@EnzoVezzaro
Copy link

EnzoVezzaro commented Feb 11, 2025

UPDATE: solved! it was my fault. Sorry about that. I'll leave the configuration just in case anybody needs it (@GiuseppeF)

I'm confused too. I have this configuration

const useDappConfig: Config = {
  readOnlyChainId: Mainnet.chainId,
  readOnlyUrls: {
    [Sepolia.chainId]: new JsonRpcProvider(
      `https://eth-sepolia.g.alchemy.com/v2/${import.meta.env.VITE_ALCHEMY_API}`
    ),
    [Hardhat.chainId]: web3Provider,
  },
  notifications: {
    expirationPeriod: 5000,
  },
};

but I get stuck on the connection:

const { account, deactivate, activateBrowserWallet, chainId } = useEthers();
const { isSignedIn, isCorrectNetwork } = useAuth();
  
console.log('status: ', isSignedIn, isCorrectNetwork); //  is always false
console.log('Current Chain ID: ', chainId); // 11155111

I can't connect for some reason I don't really get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants