Skip to main content
Version: 2.1.20

GardenProps

This type represents the configuration object for the Garden instance.

PropertyTypeDescription
environmentEnvironmentSpecifies the network (mainnet or testnet).
digestKeystring | DigestKeyIt is a 32-byte non-custodial identifier used for auth, identity, and secret management in atomic swaps.
apistringOrderbook service's base URL
secretManagerISecretManagerIt handles generation and retrieval of secrets and secretHashes for swaps.
orderbookIOrderbookAllows creating and managing orders easily
quoteIQuoteGet a quote for the given orderpair and amount.
blockNumberFetcherIBlockNumberfetcherFetches the current block numbers across multiple chains.
siweOptsSiweOptsSpecifies Sign-In With Ethereum (SIWE) config
htlcHTLCConfigHTLC implementations for supported networks.

SiweOpts

{
domain?: string;
store?: IStore;
signingStatement?: string;
};

HTLCConfig

{
evm?: IEVMHTLC;
starknet?: IStarknetHTLC;
}