@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
17 lines (16 loc) • 813 B
TypeScript
/**
* Aave V3 client singleton for the native fast-path supply flow.
*
* The PoC uses `@aave/client` (V3 SDK) directly via its action functions, with
* the viem adapter for signing. We don't mount `<AaveProvider>` because the
* funkit tree doesn't need the React-bound hooks.
*
* NOTE on location: this file is co-located with its only current caller
* (`useAaveNativeSupply.ts`). It does NOT belong in `~/clients/` — that
* directory is reserved for customer-specific code exported via the
* `./clients/*` subpath; pulling Aave SDK setup in from there would bloat
* the main bundle for every customer. Pure Aave constants and predicates
* live in `~/domains/aave.ts` (importable without running SDK init).
*/
import { AaveClient } from '@aave/client';
export declare const aaveClient: AaveClient;