Base goerli support

would love support for base goerli since im testing on the base network and would love to use their test network

@josephrios56 Welcome Aboard!

Your request has been forwarded to our team and we will get back to you with further updates once more information becomes available.

You can add a custom chain configuration with Web3Auth Modal SDK:

Since Base Goerli is a EVM compatible chain, you may choose CHAIN_NAMESPACES.EIP155 as the chainNamespace while initializing Web3Auth with the OpenloginAdapter , you need to add the privateKeyProvider to the OpenLogin instance. Code snippet below:

const chainConfig = {
  chainNamespace: CHAIN_NAMESPACES.EIP155,
  chainId: "0x14a33",   //chain ID in hex for Base Goerli Testnet
  rpcTarget: "https://goerli.base.org", //You can visit https://chainlist.org/chain/84531 for Base Goerli Testnet RPC List
  displayName: "Base Goerli Testnet", 
  blockExplorer: "https://goerli.basescan.org/",
  ticker: "ETH",
  tickerName: "Goerli Ether",
};

const web3auth = new Web3Auth({
  clientId: " ",  // Get your Client ID from Web3Auth Dashboard,
  chainConfig,
  web3AuthNetwork: "cyan",
});

const privateKeyProvider = new EthereumPrivateKeyProvider({
  config: { chainConfig },
});

const openloginAdapter = new OpenloginAdapter({
  privateKeyProvider,
  adapterSettings: {...},
  mfaSettings: {...},
  loginSettings: {...},
});
web3auth.configureAdapter(openloginAdapter);

provider = await web3auth.connectTo(
  WALLET_ADAPTERS.OPENLOGIN,
  {
    loginProvider: "google",
  }
);