@ixily/activ
Version:
Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.
45 lines (44 loc) • 1.32 kB
TypeScript
import { ICacheDBConfig, ICacheStorage, IContractRecipe, ILitProvider } from '../../';
export interface IWeb3AuthorizationOptions {
userWalletPrivateKey?: string;
webProvider?: any;
}
export interface IActivConfig {
defaultBlockchainNetwork?: string;
defaultContract?: string | IContractRecipe;
web3AuthorizationOptions: IWeb3AuthorizationOptions;
litConfig?: {
litProvider: ILitProvider;
mock?: boolean;
};
librarianConfig?: {
sourceOfDataForValidation: 'standalone' | 'trusted-cache-server';
sourceOfDataForViews: 'standalone' | 'trusted-cache-server';
};
mockProvableValidation?: boolean;
nftStorageKey?: string;
mockNftStorage?: boolean;
usePinata?: {
pinataApi: string;
pinataSecret: string;
};
mockLitPricing?: boolean;
useProxyInPricing?: boolean;
skipPricingSignature?: boolean;
ipfsProxyEnabled?: boolean;
showLogsToDebug?: boolean;
singleConfig?: boolean;
cacheStorageConfig: {
useCache?: boolean;
module: ICacheStorage;
dbParams?: ICacheDBConfig;
isBrowser: boolean;
};
dataSource?: {
publicCache: {
source: 'server' | 'local';
customServerUrl?: string;
autoServe?: boolean;
};
};
}