Install the package
react and react-dom are peer dependencies. The package expects React 18 or newer.
Import the widget styles
Render the trade widget
config prop is required, but all fields inside TradeWidgetConfig are optional. This means config={{}} is valid when you want to use the default Delora API base.
Minimal install notes
- Default API base:
https://api.delora.build - Metadata endpoints used by the widget:
/v1/chainsand/v1/tokens - Quote endpoint used by the widget:
/v1/quotes - If your app already manages wallets or receiver state, see Wallet & Receiver Management

