docs: add EVM reference section and sei-js examples#2
Conversation
- Add EVM Compatibility page (replaces matrix.mdx) with unsupported RPC methods - Add behavior reference sub-pages: finality, gas & fees, transaction types, state proofs, WebSocket, signing - Add 12 sei-js example pages: viem/ethers quickstarts, wagmi-react, ERC-20/721/1155, multicall, pointer contracts, precompiles redirect, deploy & verify, transaction lifecycle, error handling - Add @sei-js/registry documentation page - Rewrite precompiles example-usage.mdx: viem + ethers CodeGroups, Bank/Staking/Distribution/Governance sections, remove oracle (retired) - Update docs.json navigation: EVM Compatibility dropdown under Overview, sei-js Examples group under Ecosystem Tutorials - Update sei-js index and home page to surface new pages
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
PR SummaryLow Risk Overview Introduces a sei-js Examples tutorial set (viem/ethers/wagmi quickstarts, ERC-20/721/1155 interactions, multicall, pointer contracts, deploy/verify, transaction lifecycle, error handling) and documents the new Reworks Reviewed by Cursor Bugbot for commit a0b1828. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a0b1828. Configure here.
| err?.code === 'CALL_EXCEPTION' | ||
| ) { | ||
| throw err; | ||
| } |
There was a problem hiding this comment.
Retry function silently retries viem contract reverts
Medium Severity
The withRetry function's comment says "Don't retry user rejections or contract reverts," but the guard only catches ethers-style reverts (err?.code === 'CALL_EXCEPTION'). In viem, contract reverts surface as ContractFunctionRevertedError wrapped inside a BaseError — none of the three checks (UserRejectedRequestError, code 4001, code CALL_EXCEPTION) match that. The classifyError utility earlier in the same file demonstrates the correct viem pattern using BaseError.walk(), but withRetry omits it. Developers copying this utility for viem would needlessly retry deterministic failures.
Reviewed by Cursor Bugbot for commit a0b1828. Configure here.


Summary
matrix.mdx; includes feature support table and unsupported RPC methods (blob methods, pending state,eth_accounts)docs.jsonupdated: EVM Compatibility dropdown under Overview, sei-js Examples group under Ecosystem Tutorials; home page and sei-js index updated with new cardsTest plan
mint devbuilds without errors