docs: add Enterprise SDK documentation#20
Merged
Conversation
Document @stablechain/enterprise: the gas waiver, guaranteed blockspace, and composed guaranteedWaiver modules, their send/relay methods, build helpers, shared types, and error codes. Note testnet-only availability and the contact-for-access gating. Add both pages to the /en sidebar under Build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Styleguide check✓ 132 en pages — 0 blocking, 11 warnings docs/pages/en/explanation/autobahn.mdxdocs/pages/en/explanation/consensus.mdx
docs/pages/en/explanation/ethereum-compatibility.mdx
docs/pages/en/how-to/monitor-node.mdx
docs/pages/en/how-to/troubleshoot-node.mdx
docs/pages/en/reference/indexers.mdx
docs/pages/en/reference/ramps.mdx
docs/pages/en/reference/system-transactions-api.mdx
docs/pages/en/reference/wallets.mdxEnforced by |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | 9002b0f | Commit Preview URL Branch Preview URL |
Jul 14 2026, 08:14 AM |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add task-focused implementation guides modeled on the Stable SDK Earn yield page: relay-with-gas-waiver and send-guaranteed-transactions (which also covers the combined guaranteed relay transactions flow). Point the Enterprise SDK menu's Gas Waiver and Guaranteed Blockspace items at these guides. List the three features by name in the overview and reference. Reiterate testnet-only, on-request availability. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a dedicated how-to for the combined guaranteedWaiver feature (gas-waived transactions over guaranteed blockspace), modeled on the reference. Add it to the Enterprise SDK menu, and replace the inline "Combine with gas waiver" section in the guaranteed blockspace guide with a pointer to it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Cloudflare prerender OOMs at the previous 6144 MB cap: it prerenders all 395 pages (en/cn/ko) sequentially in one process and dies right at the ceiling (peak 6010/6191 MB). The same build passes locally, so the working set is ~6 GB and just tips over. Raise the cap to 7168 MB, which stays under the 8 GB Cloudflare build container. Co-Authored-By: Claude Opus 4.8 <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 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.
Summary
Adds documentation for the Stable Enterprise SDK (
@stablechain/enterprise), sourced from the SDK repo'smainbranch (packages/enterpriseandexamples/enterprise).Two new English pages, wired into the
/ensidebar under Build → Enterprise SDK:explanation/enterprise-sdk— overview: the three modules (gasWaiver,guaranteedBlock,guaranteedWaiver), when to use it, server-side-only warning, and access.reference/enterprise-sdk— full API reference:createStableEnterprise, each module's config andsend/sendBatch/relay/relayBatchmethods, thebuildWaiverInnerTx/buildGuaranteedTx/nonceKeyForLanehelpers, shared types (WaiverInnerTx,GuaranteedTxRequest,ValidationLimits,AllowedTarget,BatchResultItem), the fullErrorCodetable, and constants.Per the user's notes, both pages state that the SDK is currently available on Stable Testnet only and that integration is gated — contact Stable to get access (a governance-registered waiver key and an Enterprise RPC gateway API key). Code samples use
stableTestnet.Notes
i18n-translatebot will draft thecn/kopages into this PR;i18n-checkwill be red until those land, then go green.Checks
npm run style:check— 0 blocking (pre-existing warnings in other files only)npx tsc --noEmit— cleannpm run docs:build— builds all locales, no broken links🤖 Generated with Claude Code