Skip to content

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

Merged
krboktv merged 5 commits into
masterfrom
cursor/newchain-impl-sdks-19d9
Aug 18, 2026
Merged

feat: add Monad (143), Cronos (25), HyperEVM (999)#89
krboktv merged 5 commits into
masterfrom
cursor/newchain-impl-sdks-19d9

Conversation

@krboktv

@krboktv krboktv commented Aug 15, 2026

Copy link
Copy Markdown
Member

Summary

Adds the EVM chains Monad (143), Cronos (25) and HyperEVM (999) to the SDK monorepo, mirroring #82 (Robinhood Chain) on top of the post-redeploy universal addresses from #86:

  • @1inch/sdk-core: MONAD = 143, CRONOS = 25, HYPEREVM = 999 added to NetworkEnum.
  • @1inch/aqua-sdk: Aqua Protocol address 0x1111113ccf1426a8e30e2bff5e005d929bf6a90a mapped for all three chains + README network table rows.
  • @1inch/swap-vm-sdk: AquaSwapVMRouter address 0x111111338c5091e8440b67b168bae16a668ac0de mapped for all three chains + README network table rows.
  • Drive-by docs fix: the aqua-sdk README listed Unichain with chain id 1301 (Unichain Sepolia); corrected to 130 to match NetworkEnum.UNICHAIN.

Published rc pre-releases (from this branch, next dist-tag; latest untouched)

Package Version Notes
@1inch/sdk-core 0.1.3-rc.0 npmjs + GitHub Packages
@1inch/aqua-sdk 0.3.1-rc.0 pins @1inch/sdk-core@0.1.3-rc.0 exactly
@1inch/swap-vm-sdk 0.4.1-rc.0 pins @1inch/sdk-core@0.1.3-rc.0 exactly

Published rc artifacts were installed from npmjs into a clean project and the new chain mappings verified. Final (non-rc) versions should be released from master after merge.

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

For each of 143 / 25 / 999:

  • eth_chainId matches.
  • eth_getCode at the Aqua address returns 5,619 bytes of code; at the SwapVM router address 20,541 bytes — same sizes as on already-supported chains.
  • SwapVM router eip712Domain(): name 1inch SwapVM v1.0 on all three chains. Note: the new deployments report domain version 1.0, while existing chains (e.g. Ethereum, Sonic) report 1.0.2. The SDK is unaffected (Order.hash() takes the domain as a parameter and the on-chain eip712Domain() is the source of truth), but the deployment-note comment in swap-vm/src/swap-vm-contract/constants.ts was updated to record this, and downstream consumers that hardcode 1.0.2 for EIP-712 signing will produce invalid hashes on these three chains.

Testing

  • pnpm build, pnpm lint, pnpm lint:types, pnpm test — all green for all 3 packages (also green in PR CI).
  • Functional check of built CJS bundles and of the published rc packages: NetworkEnum.{MONAD,CRONOS,HYPEREVM} and both address maps resolve to the intake addresses.
  • e2e (Anvil mainnet fork, FORK_URL=https://ethereum-rpc.publicnode.com): aqua 3/3 passed; swap-vm 10/13 passed — the 3 failures are the known fork-state float assertions (2000–3000 concentrated-range + 30bps-fee tests, ~13th significant digit) and fail identically on base master (verified in a clean worktree at d126217), i.e. unrelated to this change.
Open in Web Open in Cursor 

cursoragent and others added 5 commits August 15, 2026 16:41
… and Aqua/SwapVM contract addresses

Co-authored-by: Kirill <krboktv@gmail.com>
- project: sdk-core 0.1.3-rc.0
- project: aqua 0.3.1-rc.0
- project: swap-vm 0.4.1-rc.0
@sonarqubecloud

Copy link
Copy Markdown

@krboktv
krboktv marked this pull request as ready for review August 15, 2026 16:55
@krboktv
krboktv merged commit 4dd4a04 into master Aug 18, 2026
2 checks passed
@krboktv
krboktv deleted the cursor/newchain-impl-sdks-19d9 branch August 18, 2026 14:12
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