Monorepo for all Orderly SDKs. Please check out our documentation.
If you have any questions about the code in this repository, you can also ask deepwiki.
- Install dependencies:
pnpm install- Start the development server:
pnpm dev- Start the Storybook development server:
pnpm storybookStart building with Orderly SDKs using these ready-to-use templates:
env
config env: dev, qa, staging, prod
networkId
mainnet/testnet
brokerId
set your broker id
brokerName
set broker name
walletMode
privy(default),wallet, orlegacy
http://localhost:5173/en/perp/PERP_ETH_USDC?env=prod&networkId=mainnet&brokerId=demo&broderName=Orderly&theme=orderly&walletMode=wallet
The Vite playground reads the wallet mode from the URL when it first renders:
walletMode=privyuses the current wallet provider with Privy login enabled.walletMode=walletuses the current wallet provider with external wallets only.walletMode=legacyuses the legacy Web3 Onboard provider in development.
For example:
http://localhost:5173/?walletMode=privy
http://localhost:5173/?walletMode=wallet
http://localhost:5173/?walletMode=legacy
Missing or invalid values default to privy. The legacy mode is only active
in the Vite development environment; production builds fall back to privy.
Reload the page after changing the mode. Switching modes does not clear sessions
persisted by Privy, WalletConnect, or browser wallets.