Trading in the app
Start with Start with Shield Swap, then Fund your wallet. Quote, Swap, and Swap history and recovery each begin with an In the app section. Manage positions covers liquidity in the app.Application integrators
Begin with indexed REST data. Use the TypeScript SDK or direct program calls if the application must submit Shield transactions. Keep these facts in view:- A swap and its claim are separate transactions.
- Wallets must reserve input records, preserve change, and store returned records.
- Q128.128 values use
u256::U256withhiandlolimbs. - Pool parsing must not expect legacy
scale0orscale1fields. - Public position accounting and
PositionNFTownership are different state. - Public market data does not require credentials. Routes and wallet-specific data require an authenticated session or API token.
Traders and wallet teams
The transaction’s token IDs, amount, route, output, refund, price movement, and timing remain public. The intended confidentiality property keeps the participant address out of ordinary public market mappings. Read Trader workflow, then Failures and recovery.Liquidity teams
Bind every position to one deployment, pool key, token ID, and currentPositionNFT. The same logical pool in a different deployment is different state.
Fee fractions are attributed when earned using active liquidity. Later liquidity cannot receive prior residual fee dust.