@bronlabs/intents-sdk
Version:
SDK for Intents DeFi smart contracts
24 lines (23 loc) • 567 B
TypeScript
export interface NetworkConfig {
rpcUrl: string;
walletAddress?: string;
walletPrivateKey?: string;
scanApiUrl?: string;
authUrl?: string;
clientId?: string;
clientSecret?: string;
}
export interface IntentsConfig {
rpcUrl: string;
orderEngineAddress: string;
oracleAggregatorAddress?: string;
oraclePrivateKey?: string;
solverPrivateKey?: string;
startBlockOffset: number;
pollingInterval: number;
maxRetries: number;
retryDelay: number;
networks?: {
[key: string]: NetworkConfig;
};
}