filecoin-pin
    Preparing search index...

    Interface SessionKeyConfig

    Session key authentication with owner address and session key private key

    interface SessionKeyConfig {
        chain?: Chain;
        dataSetMetadata?: Record<string, string>;
        rpcUrl?: string;
        sessionKey: `0x${string}`;
        walletAddress: `0x${string}`;
        withCDN?: boolean;
    }

    Hierarchy

    • BaseSynapseConfig
      • SessionKeyConfig
    Index

    Properties

    chain?: Chain

    Target chain. Defaults to calibration.

    dataSetMetadata?: Record<string, string>

    Default metadata to apply when creating datasets

    rpcUrl?: string

    RPC endpoint for the target Filecoin network. Defaults to calibration chain transport.

    sessionKey: `0x${string}`
    walletAddress: `0x${string}`
    withCDN?: boolean

    Enable CDN service for datasets