@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Interface BaseWalletConfig

    Base configuration options shared by all wallet types.

    Supports two configuration modes:

    1. URL-based: Provide arkServerUrl, indexerUrl (optional), and esploraUrl
    2. Provider-based: Provide arkProvider, indexerProvider, and onchainProvider instances

    At least one of the following must be provided:

    • arkServerUrl OR arkProvider

    The wallet will use provided URLs to create default providers if custom provider instances are not supplied. If optional parameters are not provided, the wallet will fetch configuration from the Ark server.

    interface BaseWalletConfig {
        arkProvider?: ArkProvider;
        arkServerPublicKey?: string;
        arkServerUrl?: string;
        boardingTimelock?: RelativeTimelock;
        esploraUrl?: string;
        exitTimelock?: RelativeTimelock;
        indexerProvider?: IndexerProvider;
        indexerUrl?: string;
        onchainProvider?: OnchainProvider;
        storage?: StorageAdapter;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arkProvider?: ArkProvider
    arkServerPublicKey?: string
    arkServerUrl?: string
    boardingTimelock?: RelativeTimelock
    esploraUrl?: string
    exitTimelock?: RelativeTimelock
    indexerProvider?: IndexerProvider
    indexerUrl?: string
    onchainProvider?: OnchainProvider
    storage?: StorageAdapter