Interface Bootstrap

This interface defines the Options used for Open Ordinal Bootstrap.

interface Bootstrap {
    mode: BootstrapMode;
    id?: number;
    sat?: number;
    index?: number;
    data?: any;
    res?: {
        [_: string]: BootstrapResource;
    };
    oo?: BootstrapOpenOrdinalModules;
}

Properties

The mode for bootstrap. Mode 0 is obmitted due to the default and would lead to a recursive deadlock.

id?: number

Optional: The inscription Id to bootstrap

sat?: number

Optional: The sat Id to bootstrap

index?: number

Optional: Index on sat to bootstrap

data?: any

Optional: Data to pass into the bootstrap

res?: {
    [_: string]: BootstrapResource;
}

Optional: Additional inscriptions to load and pass into bootstrap()

Optional: Additional Open Ordinal modules to load