Skip to main content

Variable: WALLET\_PROVIDER\_CONFIG\_MISSING

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / WALLET_PROVIDER_CONFIG_MISSING

Variable: WALLET_PROVIDER_CONFIG_MISSING

const WALLET_PROVIDER_CONFIG_MISSING: readonly ["eip1193_provider", "private_key_or_eip1193_provider"]

Defined in: packages/gala-core-sdk/dist/index.d.ts:159

What a wallet provider was built without (INVALID_WALLET_PROVIDER_CONFIG.params.missing):

  • eip1193_provider: an ExternalWalletProvider / GalaWalletProvider needs the wallet's provider object (window.ethereum, an EIP-6963 announcement, window.gala);
  • private_key_or_eip1193_provider: createWalletProvider needs one of the two.