Follow the steps below to integrate the Orderly SDK into your project:Documentation Index
Fetch the complete documentation index at: https://orderly.network/docs/llms.txt
Use this file to discover all available pages before exploring further.
Add Basic Dependencies
Install the Base Component Libraries
Add Styles to Your Project
Reference the style file by adding the following code to your project:Add a Global Configuration Provider
Wrap your application with theOrderlyAppProvider component to set global configurations:
Add Wallet Connection
Orderly SDK provides a built-in wallet connection component supporting both EVM and Solana. Here’s how to integrate it:Install Wallet Connector Dependencies
Add the WalletConnectorProvider Component
Wrap your application with theWalletConnectorProvider for wallet connection functionality:
WalletConnectorContextState
interface from @orderly.network/hooks.
Add Pages
Page Layout
If you want to use the SDK’s built-in top navigation, side navigation, and other layout features, install the layout library:Add the Scaffold component to your application:
@orderly.network/portfolio.
Page Components
The SDK includes the following page components: Trading -@orderly.network/trading
Portfolio - @orderly.network/portfolio
Referral - @orderly.network/referral
Markets - @orderly.network/markets
Trading Rewards - @orderly.network/trading-rewards
Affiliate - @orderly.network/affiliate
You can integrate these with your preferred React routing framework. Here are examples for popular frameworks:
For detailed usage, refer to the Orderly Storybook.