Use the Ostium app export flow here: app.ostium.com/sdk-export That page creates a delegated gasless SDK setup in the browser:Documentation Index
Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
Use this file to discover all available pages before exploring further.
- it generates a fresh delegate private key locally in the browser
- it asks the trader to approve USDC once
- it registers the derived Safe as the trader’s on-chain delegate
createDelegatedAndGasless().
What the app page gives you
The export flow shows:- the trader address
- the derived smart-account address
- the registration status and timestamp
- a ready-to-copy Builder SDK snippet
SDK snippet
Flow in the app
1. Trader address
This is the connected EOA that holds the user’s USDC and positions.2. Generate delegate key
Ostium generates a fresh private key in the browser. The user must save it because it cannot be recovered later.3. Approve USDC
The trader completes a one-time approval soTradingStorage can move their USDC for SDK trades.
4. Register delegate
The app registers the derived Safe smart-account address as the trader’s on-chain delegate.Why this mode is useful
This flow sets the user up for Delegated + Gasless:- trades are signed by the delegate
- transactions are submitted as sponsored ERC-4337 user operations
- the SDK can use Ostium’s default Pimlico-compatible sponsor URL when
pimlicoUrlis omitted