Skip to main content

Install Widget

Use the Widget type toggle to switch between:
  • Swap — the full swap widget (<Swap />) wrapped in LayerswapProvider.
  • Deposit — the standalone <Deposit /> widget for funding a fixed address you control. See Deposit Widget for the full reference.
Zustand is a lightweight state management library for React applications.
ParadexProvider is dependant on EVMProvider and StarknetProvider

Configuration

YOUR_API_KEY is used for accessing the widget. You can generate and input the API key from the Partner Dashboard. WalletConnect Project ID: If you selected EVM, Starknet, or Solana providers, see WalletConnect configuration to get your Project ID. TON Configuration: If you selected the TON provider, see TON configuration to set up your API key and manifest URL. For further adjustments, refer to the optional configurations list.