Interface DymensionBridgeConfig

User-provided configuration (all optional)

interface DymensionBridgeConfig {
    contractOverrides?: {
        igp?: Record<string, string>;
        mailbox?: Record<string, string>;
        warpRoutes?: Record<string, string>;
    };
    feeProvider?: FeeProvider;
    grpcUrls?: Record<string, string>;
    network?: "mainnet" | "testnet";
    restUrls?: Record<string, string>;
    rpcUrls?: Record<string, string>;
}

Properties

contractOverrides?: {
    igp?: Record<string, string>;
    mailbox?: Record<string, string>;
    warpRoutes?: Record<string, string>;
}

Contract address overrides (for testing)

feeProvider?: FeeProvider

Custom fee provider for dynamic fee fetching

grpcUrls?: Record<string, string>

gRPC URL overrides by chain name

network?: "mainnet" | "testnet"

Network to use

restUrls?: Record<string, string>

REST API URL overrides by chain name

rpcUrls?: Record<string, string>

RPC URL overrides by chain name