Client Configuration
Configure the common parameters
interface ClientConfig {
pools: Pools;
chains: Chains;
snarkParams: SnarkConfigParams; // global SNARK parameters (for all pools)
snarkParamsSet?: Parameters; // customized SNARK parameters
supportId?: string;
forcedMultithreading?: boolean;
}ClientConfig.pools
type Pools = { [name: string]: Pool; }
interface Pool {
chainId: number;
poolAddress: string;
tokenAddress: string;
relayerUrls: string[];
delegatedProverUrls: string[];
depositScheme: DepositType;
coldStorageConfigPath?: string;
minTxAmount?: bigint;
feeDecimals?: number;
isNative?: boolean;
ddSubgraph?: string;
parameters?: string;
}ClientConfig.chains
ClientConfig.snarkParams
ClientConfig.snarkParamsSet
ClientConfig.supportID
ClientConfig.forcedMultithreading
Client library multipool configuration example
Minimal Configurations for Deployed Solutions
Last updated
Was this helpful?