setup

fun setup(providerName: String, registry: BlockchainAnchorRegistry, chainIds: List<String>, defaultChainIds: List<String>, options: Map<String, Any?> = emptyMap(), allowCustomChains: Boolean = false): List<String>

Manually register blockchain clients for specific chains.

Return

List of registered chain IDs

Parameters

providerName

The name of the provider

chainIds

List of chain IDs to register

defaultChainIds

Default chain IDs if chainIds is empty

options

Configuration options

allowCustomChains

If true, allows chain IDs not in supportedChains (e.g., custom Indy pools)

Throws

if provider is not found