Installation
Install the Spice Flow SDK using npm or yarn:Basic Setup
We will use Para as an example1. Wrap Your App
Wrap your application withSpiceFlowProvider and configure your wallet provider:
2. Add Wallet Connection
Use theProviderLogin component to let users connect their wallet:
3. Add the Swap Widget
Include theSwapWidget component where you want users to perform swaps. Make sure to pass your app’s swap calls in the swapBatches array:
