To use XY Finance widget in your project, run the following command in your terminal:
For React 18, Vite, Next.js
npm install @xyfinance/widget
pnpm install @xyfinance/widget
bun install @xyfinance/widget
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.