Skip to main content
With this path, your app installs @layerswap/widget and the wallet packages it needs. You construct wallet providers and pass them to LayerswapProvider.

Install

Render the Widget

Build walletProviders with the packages for the networks your app supports. Paradex depends on both the EVM and Starknet provider packages.

Configure credentials

  • Create YOUR_API_KEY in the Partner Dashboard.
  • EVM, Starknet, and Solana WalletConnect providers need a WalletConnect project ID.
  • TON needs a TON API key and manifest URL.
  • Use Initial values & flows for route and form defaults.

Wallet management

Provider loading and self-bundled wallet architecture

Wallet providers

Package and factory setup by chain family

Build troubleshooting

Polyfills and transpilation for self-bundled dependencies

Migration guide

Move to the recommended React loader