# Function mockPlatformFactory

- mockPlatformFactory<N, P>(platform, config): PlatformUtils<N, P>

- #### Type Parameters

  - #### N extends "Mainnet" | "Testnet" | "Devnet"

  - #### P extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"

  #### Parameters

  - ##### platform: P

  - ##### config: ChainsConfig<N, P>

  #### Returns PlatformUtils<N, P>

  - Defined in definitions/src/testing/mocks/platform.ts:20

Generated using TypeDoc