Skip to content

feat: add Hyperliquid core primitives#8906

Draft
paulbalaji wants to merge 1 commit into
mainfrom
codex/hyperliquid-core-primitives
Draft

feat: add Hyperliquid core primitives#8906
paulbalaji wants to merge 1 commit into
mainfrom
codex/hyperliquid-core-primitives

Conversation

@paulbalaji

Copy link
Copy Markdown
Collaborator

Summary

  • Added Hyperliquid CoreWriter and Circle CoreDepositWallet interfaces for HyperEVM integrations.
  • Added CoreWriter action encoding helpers for spot-send and send-asset payloads.
  • Documented the HyperCore <> HyperEVM boundary and why these are primitives rather than a full adapter.

Validation

  • forge test --match-contract HyperliquidCoreWriterTest -vvv
  • pnpm -C solidity lint
  • git diff --check

Follow-up

  • Build production adapters separately once the UX and asset target are fixed.
  • Only claim one-click user Core credit for assets with an explicit recipient-aware deposit path, currently modeled around USDC depositFor.

@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.37%. Comparing base (87f0933) to head (45ea845).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8906      +/-   ##
==========================================
+ Coverage   79.33%   79.37%   +0.03%     
==========================================
  Files         143      144       +1     
  Lines        4278     4286       +8     
  Branches      436      436              
==========================================
+ Hits         3394     3402       +8     
  Misses        855      855              
  Partials       29       29              
Flag Coverage Δ
solidity 80.63% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 87.80% <ø> (ø)
hooks 78.11% <ø> (ø)
isms 81.46% <ø> (ø)
token 88.00% <ø> (ø)
middlewares 87.76% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant