Skip to content

feat: add Monad (143), Cronos (25), HyperEVM (999) - #91

Merged
krboktv merged 6 commits into
masterfrom
cursor/newchain-impl-cross-chain-sdk-97f7
Aug 18, 2026
Merged

feat: add Monad (143), Cronos (25), HyperEVM (999)#91
krboktv merged 6 commits into
masterfrom
cursor/newchain-impl-cross-chain-sdk-97f7

Conversation

@krboktv

@krboktv krboktv commented Aug 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Add MONAD = 143, CRONOS = 25, HYPEREVM = 999 to NetworkEnum and SupportedChains
  • Add the three chains to TRUE_ERC20, ESCROW_FACTORY, ESCROW_SRC_IMPLEMENTATION, ESCROW_DST_IMPLEMENTATION. The trio shares a new deployer, so the addresses are common to the three chains but differ from other chains:
    • escrow factory v1.1 0x8e6c3c2e2631de0a1d4fd46a15f79a1373486fa4
    • src impl 0x25fb2e7a56db5a3f04be5e7a728977e889e62a3c, dst impl 0x715bb4091abccacef523a6069b4f0e2678a352f2 (read on-chain from the factory getters on all three chains)
    • TrueERC20 0x175a30f81eade2d75b4d1d5fc750131877355d21
  • Bump @1inch/fusion-sdk 2.4.10 → 2.4.13-rc.1 and @1inch/limit-order-sdk 5.3.1 → 5.4.2-rc.0 (carry the new-chain CHAIN_TO_WRAPPER entries — WMON 0x3bd359c1119da7da1d913d1c4d2b7c461115433a, WCRO 0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23, WHYPE 0x5555555555555555555555555555555555555555 — and the HyperEVM-specific LOP v4)

Mirrors #86 for the three chains, with the #90 post-merge fix patterns applied up front:

  • HyperEVM (999) LOP v4 is a non-default deployment at 0x5281602adc446a94eb48d055f514a6d8d5bee176; the canonical 0x111111125421ca6dc452d289314280a0f8842a65 has no code on chain 999 (verified on-chain: eip712Domain() returns ("1inch Aggregation Router", "6", 999, 0x5281602aDc446A94eb48D055f514A6d8D5bee176)). getTypedData/getOrderHash pick it up via getLimitOrderContract(999) from limit-order-sdk 5.4.2-rc.0 — regression test added.
  • Wrapped-native map covers all three chains so EvmCrossChainOrder.fromNative works — regression tests added per chain.

Also fixes pre-existing pnpm audit --audit-level high failures (brace-expansion, js-yaml, undici 8.x) via within-major overrides so the PR security gate is green — same approach as #87.

Release

@1inch/cross-chain-sdk@2.2.2-rc.0 is published to npm (dist-tag next) from this branch via the release workflow. Suggested final release after merge: 2.3.0 (widening SupportedChains is a minor).

On-chain verification (2026-08-15, via https://api.1inch.com/web3/{chainId})

Check Monad 143 Cronos 25 HyperEVM 999
LOP v4 with code canonical 0x1111…2A65 canonical 0x1111…2A65 0x5281…e176 (canonical has no code)
escrow factory v1.1 0x8e6c…6fa4 code ✓ code ✓ code ✓
factory ESCROW_SRC/DST_IMPLEMENTATION() 0x25fb…2a3c / 0x715b…52f2 same same
TrueERC20 0x175a…5d21 code ✓ code ✓ code ✓
wrapped native WMON ✓ 18 dec WCRO ✓ 18 dec WHYPE ✓ 18 dec

Factory-version mapping cross-checked by bytecode size: the v1.1 factory (11325 bytes) matches this line's canonical factory 0x03a25b…7efa on Ethereum; the v1.0 factory (8342 bytes) matches the v1 line's 0xa7bcb4…f99a.

Consumer notes

Test plan

  • pnpm lint (0 errors), pnpm lint:types, pnpm test (23 suites, 137 passed / 1 skipped), pnpm audit --audit-level high, pnpm build — all green
  • New regression tests: EIP-712 verifyingContract per chain (HyperEVM non-default, Monad/Cronos canonical) and fromNative wrapper resolution for all three chains
  • Published 2.2.2-rc.0 verified from a clean consumer install: chain ids, escrow v1.1 addresses, getLimitOrderContract(999), wrappers
Open in Web Open in Cursor 

cursoragent and others added 4 commits August 15, 2026 17:38
- Add MONAD, CRONOS and HYPEREVM to NetworkEnum and SupportedChains
- Add escrow factory v1.1 deployment (0x8e6c3c2e2631de0a1d4fd46a15f79a1373486fa4),
  src/dst implementations and TrueERC20 for the three chains. They share a new
  deployer, so the addresses are common to the trio but differ from other chains.
  All addresses verified on-chain via factory getters ESCROW_SRC_IMPLEMENTATION()
  and ESCROW_DST_IMPLEMENTATION()

Co-authored-by: Kirill <krboktv@gmail.com>
…dk to 5.4.2-rc.0

Carries Monad/Cronos/HyperEVM support from the dependency SDKs:
- NetworkEnum entries and CHAIN_TO_WRAPPER wrapped-native map
  (WMON 0x3bd359c1119da7da1d913d1c4d2b7c461115433a,
   WCRO 0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23,
   WHYPE 0x5555555555555555555555555555555555555555)
- HyperEVM-specific LOP v4 verifying contract
  0x5281602adc446a94eb48d055f514a6d8d5bee176 (the canonical router has no
  code on chain 999), returned by getLimitOrderContract(999)
pnpm resolves a single limit-order-sdk 5.4.2-rc.0 instance for both the root
and fusion-sdk

Co-authored-by: Kirill <krboktv@gmail.com>
…or new chains

- getTypedData uses the HyperEVM-specific LOP deployment as EIP-712
  verifyingContract for chain 999, and the canonical router for Monad,
  Cronos and Ethereum
- EvmCrossChainOrder.fromNative resolves the correct wrapped native token
  (WMON/WCRO/WHYPE) for each new chain

Co-authored-by: Kirill <krboktv@gmail.com>
brace-expansion (GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895),
js-yaml (GHSA-52cp-r559-cp3m, GHSA-5p4m-2wfm-xmqj) and undici 8.x
(GHSA-4cwx-7wf7-3272) are pinned to patched versions within their majors.
pnpm audit --audit-level high is green again (failures pre-date this branch)

Co-authored-by: Kirill <krboktv@gmail.com>
@krboktv
krboktv marked this pull request as ready for review August 15, 2026 17:54
@krboktv
krboktv merged commit 26bbb86 into master Aug 18, 2026
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.

2 participants