Skip to content

feat: add Hyperliquid deployment#501

Merged
0x1NotMe merged 2 commits into
mainfrom
add-hyperliquid-deployment
Aug 25, 2025
Merged

feat: add Hyperliquid deployment#501
0x1NotMe merged 2 commits into
mainfrom
add-hyperliquid-deployment

Conversation

@0x1NotMe
Copy link
Copy Markdown
Contributor

@0x1NotMe 0x1NotMe commented Aug 20, 2025

Summary

Adds support for deploying Atlas Protocol contracts to Hyperliquid mainnet.

Changes

  • Added Hyperliquid deployment script with optimized parameters for the chain's parameters
  • Updated deployments.json with mainnet contract addresses
  • Added verification JSON generator for contract verification
  • Updated Makefile with deployment target

Notes

  • Hyperliquid uses a dual-block architecture with big blocks (30M gas, 1 min) required for deployment
  • Big blocks must be enabled via web UI at https://hyperevm-block-toggle.vercel.app/ before deployment
  • Programmatic enable/disable through API doesn't currently work as expected

Deployed Contracts

  • Atlas: 0xD72D821dA82964c0546a5501347a3959808E072f
  • AtlasVerification: 0xae631aCDC436b9Dfd75C5629F825330d91459445
  • Simulator: 0xAb665f032e6A20Ef7D43FfD4E92a2f4fd6d5771e
  • Sorter: 0xb47387995e866908B25b49e8BaC7e499170461A6

@0x1NotMe 0x1NotMe requested review from bensprks and jj1980a August 20, 2025 11:16
@0x1NotMe 0x1NotMe force-pushed the add-hyperliquid-deployment branch from 4e75342 to f7aa3b2 Compare August 20, 2025 11:17
Copy link
Copy Markdown
Contributor

@bensprks bensprks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We should probably unify the special Hyperliquid docs, deploy script, etc with the other supported chains. E.g. a helper to return the escrow duration, surcharge rates, L2 calculator strategy, etc. that takes a chainID as an arg in a single deploy script. Can be done in a separate PR though

- Deploy Atlas Protocol contracts to Hyperliquid (Chain ID: 999)
- Add deployment addresses to deployments.json
- Create deployment script for Hyperliquid mainnet
- Add verification JSON generation helper script
- Document deployment process and big blocks requirement
- Note: Big blocks must be enabled via web UI before deployment
The enable/disable commands don't actually change on-chain state.
Users should use the web UI at https://hyperevm-block-toggle.vercel.app/ instead.
@0x1NotMe 0x1NotMe force-pushed the add-hyperliquid-deployment branch from f7aa3b2 to a8fe253 Compare August 25, 2025 04:25
@0x1NotMe 0x1NotMe merged commit 49a8cfa into main Aug 25, 2025
3 checks passed
@0x1NotMe 0x1NotMe deleted the add-hyperliquid-deployment branch August 25, 2025 05:03
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.

3 participants