1️⃣Install the Widget
Installation
To use XY Finance widget in your project, run the following command in your terminal:
For React 18, Vite, Next.js
We use the latest versions of popular web3 libraries such as Viem and Wagmi. If you can't install our widget due to an outdated project, please contact us or try installing our v3 version widget via npm install @xyfinance/widget@legacy-v3
instead.
TypeScript
For users of TypeScript, you can import both the Config
and Theme
type to understand what properties are available for configuration:
Example
Check out our examples repository.
Please refer to our Widget API Reference for a comprehensive overview of available configuration options.
Last updated