Vana SDK - v0.1.0
    Preparing search index...

    Class VanaCoreFactory

    Factory functions for creating VanaCore instances with proper type safety

    Index

    Methods

    • Creates a VanaCore instance without storage requirements. Storage-dependent operations will fail at runtime if not configured.

      Parameters

      • platform: VanaPlatformAdapter

        The platform adapter for environment-specific operations

      • config: VanaConfig

        Basic configuration without required storage

      Returns VanaCore

      VanaCore instance

      const vanaCore = VanaCoreFactory.create(platformAdapter, {
      walletClient: myWalletClient
      });