Skip to content

docs(recipe-cook): mainnet smallest-proof rule - #226

Open
abretonc7s wants to merge 1 commit into
mainfrom
docs/recipe-cook-smallest-proof
Open

abretonc7s wants to merge 1 commit into
mainfrom
docs/recipe-cook-smallest-proof

Conversation

@abretonc7s

Copy link
Copy Markdown
Contributor

Aligns the recipe-cook mainnet rule (recipe-qa inherits it) with MetaMask/experimental-metamask-harness#533, which caps mainnet Perps orders by $15 of margin at risk (notional / leverage) and drops the 1x, isolated, market-only rule.

  • Prefer testnet; mainnet only when a criterion needs it and the dispatch requests it.
  • Smallest proof at any whole leverage, cross or isolated, market or limit. Use leverage to reach a venue minimum instead of funding. Prove order flows with a resting limit away from the market, then cancel it. Prove position flows at the venue minimum with close_immediately: true.
  • Record every order and position ID. Never fund accounts or create keys.

Skill-only, no CHANGELOG entry.

Prefer testnet; on mainnet pick the smallest proof at any whole leverage or margin mode within the harness's $15 margin-at-risk cap, and record every order and position ID.
@abretonc7s
abretonc7s requested a review from a team as a code owner November 8, 2026 08:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant