Repository navigation
docs: add Open in StackBlitz starters to the README - #21
Open
harbourlark wants to merge 2 commits into
Open
harbourlark wants to merge 2 commits into
harbourlark wants to merge 2 commits into
Conversation
submitRawL1Action reordered each order's a, b, p, s, r, t, c fields but kept the caller's key order inside t.trigger. The action hash is taken over msgpack, which keeps insertion order, so a raw trigger order written as { triggerPx, isMarket, tpsl } was signed over different bytes than the exchange hashes, and the recovered signer did not match. Order the trigger as isMarket, triggerPx, tpsl, as orderWire already does for submitOrder.
This branch has not been deployed
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 free
to 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.
Adds a "Try it in the browser" subsection under Installation, just after the framework quickstart table, with Open in StackBlitz buttons for the Node.js, TypeScript, Vite and React starters. The fork URLs, badge image and one-line note (
No account is needed. Keep API keys out of public sandboxes.) match the starter READMEs and the docs environment guides.The table of contents now includes the new subsection. The README template markers are unchanged.
npx prettier -w README.mdwas run; Prettier wrapped the Vite URL in angle brackets because the title contains parentheses, but the URL itself is unchanged.Also includes a small fix: raw order actions now keep
t.triggerfields in wire order (isMarket, triggerPx, tpsl), matching submitOrder.