Integrating The KyberSwap Widget
The Best Rates With Minimal Code
Installing the Swap Widget
npm:
npm i @kyberswap/widgetsyarn:
yarn add @kyberswap/widgetsAdding the Swap widget to your app
import { Widget } from "@kyberswap/widgets";
<Widget
theme={theme}
tokenList={[]}
provider={ethersProvider}
defaultTokenOut={defaultTokenOut[chainId]}
/>Last updated
Was this helpful?