Installation
Browser compatibility
Garden SDK requires wasm support and polyfills in the browser environment. Use the setup from the core package to add support for wasm and polyfills.
To install the Garden SDK
, You can use the following options:
- npm
- yarn
- pnpm
- bun
npm install @catalogfi/wallets @gardenfi/orderbook @gardenfi/core
yarn add @catalogfi/wallets @gardenfi/orderbook @gardenfi/core
pnpm add @catalogfi/wallets @gardenfi/orderbook @gardenfi/core
bun add @catalogfi/wallets @gardenfi/orderbook @gardenfi/core
If you are using ethers alongside the Garden SDK, we recommend using [email protected]
for compatibility.