@layerswap/widget
v1.1.3
Published
Streamline your asset transaction experience with Layerswap Widget across 60+ blockchains and 15+ exchanges.
Readme
Installation
Layerswap Widget
Layerswap Widget is available as an npm package.
pnpm:
pnpm add @layerswap/widget zustandnpm:
npm install @layerswap/widget zustandyarn:
yarn add @layerswap/widget zustand- Zustand is a lightweight state management library for React applications.
Getting started with Layerswap Widget
Here is an example of a basic app using Layerswap Widget:
import { LayerswapProvider, Swap } from '@layerswap/widget';
export const WidgetPage = () => {
return (
<LayerswapProvider>
<Swap />
</LayerswapProvider>
);
};Examples
See examples folder in this repository.
