Uh oh!
There was an error while loading. Please reload this page.
docs: Lighter perp DEX on Robinhood Chain API - #246
Open
buddies2705 wants to merge 1 commit into
Open
Conversation
New page documenting Lighter (ZkLighter) on Robinhood Chain: contract map, event topic0 reference, margin deposit/withdrawal queries, full-history USDG flow via the combined dataset, rollup batch liveness monitoring, and client-side decoding notes (events are unparsed until the ABI is registered; tracked in BIT-15310). All queries executed against production streaming.bitquery.io/graphql before publishing. Adds sidebar entry under Blockchains > Robinhood. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New docs page Blockchains → Robinhood → Lighter Perp DEX on Robinhood Chain API (
docs/blockchain/robinhood/lighter-perp-dex-api.md) plus its sidebar entry.Lighter is the perp DEX integrated into Robinhood Wallet since the July 1, 2026 chain mainnet. On Robinhood Chain it runs a full ZkLighter rollup contract (proxy
0x94bab9693ba2f6358507effcbd372b0660afff9d): USDG margin deposits/withdrawals plus the batch lifecycle (~1 batch/min). The page covers:Log.SmartContractshows rotating implementation facets (last rotation Aug 21), so every query anchors onLogHeader.Address+ topic0dataset: combined, a rollup-liveness subscription, anddeposit()calls by selectorSignature.Name; ABI registration is tracked internally in BIT-15310, after which the same queries also return decodedArguments)Verification
streaming.bitquery.io/graphqlon Aug 22, 2026 (realtime + combined; combined holds Lighter history back to its June 26 soft start)Deposit.baseAmountmatches the ERC-20 USDG leg 1:1; lifetime deposits − withdrawals ≈ the contract's standing USDG balancedocusaurus start— compiles clean, sidebar entry and tables/admonitions render correctly🤖 Generated with Claude Code