getWalletSdkUrl function

String getWalletSdkUrl(
  1. BuildEnv? buildEnv
)

Implementation

String getWalletSdkUrl(BuildEnv? buildEnv) {
  const String walletServicesVersion = "v2";
  switch (buildEnv) {
    case BuildEnv.staging:
      return "https://staging-wallet.web3auth.io/$walletServicesVersion";
    case BuildEnv.testing:
      return "https://develop-wallet.web3auth.io";
    case BuildEnv.production:
    default:
      return "https://wallet.web3auth.io/$walletServicesVersion";
  }
}