• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sonirico / go-hyperliquid
19%

Build:
DEFAULT BRANCH: master
Repo Added 30 May 2025 11:57PM UTC
Token 0yRH2EThaJxpYOaRxPWy7Xb8lrcojM6FH regen
Build 247 Last
Files 39
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • chore/remove-name-to-coin
  • chore/types
  • correct-msgpack-str16-str8-conversion
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/akhilmhdh/contributors-readme-action-2.3.11
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.0
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.1
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.3
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.4
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.5
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.7
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.16.8
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.0
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.1
  • dependabot/go_modules/github.com/ethereum/go-ethereum-1.17.2
  • dependabot/go_modules/github.com/mailru/easyjson-0.9.2
  • dependabot/go_modules/github.com/sonirico/vago-0.10.0
  • dependabot/go_modules/github.com/sonirico/vago-0.11.4
  • dependabot/go_modules/github.com/sonirico/vago-0.7.3
  • dependabot/go_modules/github.com/sonirico/vago-0.8.1
  • dependabot/go_modules/github.com/sonirico/vago-0.9.0
  • dependabot/go_modules/github.com/sonirico/vago/lol-0.1.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/valyala/fastjson-1.6.10
  • dependabot/go_modules/github.com/valyala/fastjson-1.6.7
  • dependabot/go_modules/gopkg.in/dnaeon/go-vcr.v4-4.0.6
  • feat/add-user-non-funding-ledger-updates
  • feat/add-vault-methods
  • feat/aggregate-by-time
  • feat/allmids
  • feat/asset-info-new-fields
  • feat/custom-client-options
  • feat/debug-mode
  • feat/export-order-types
  • feat/hip3
  • feat/notifications
  • feat/open-order-cloid-origsz
  • feat/perp-dexs
  • feat/signer-di
  • feat/subscribe-user-fills
  • feat/user-active-asset-data
  • feat/ws-active-asset-ctx
  • feat/ws-endpoints-custom-hosts
  • feat/ws-order-updates
  • feat/ws-webdata2
  • feature/add-reserve-request-weight-method
  • feature/context
  • feature/create-token-details-method
  • feature/issue-18
  • feature/nonce
  • fix
  • fix/HIP3-markets-order-placing
  • fix/add-security-checks
  • fix/approve-agent-and-cloid-serialization
  • fix/bulk-modify-orders-wiring
  • fix/clearinghousestate-callback
  • fix/context
  • fix/fill-type
  • fix/generate-types
  • fix/hip3-responses
  • fix/lint
  • fix/missing-websocket-matchings
  • fix/nonce
  • fix/order-query-methods
  • fix/order-type-wire
  • fix/parse-meta-collateral-token
  • fix/position-cumfunding
  • fix/remove-log
  • fix/reserve-weight-response-handling
  • fix/sigfigs
  • fix/slippage-rounding
  • fix/spot-user-state
  • fix/token-index
  • fix/typing-meta-info
  • fix/user-fills-subscription-type
  • fix/userfees-missing-props
  • fix/vaultaddr-response-parsing
  • fix/websocket-deadlock
  • fix/ws-candles
  • fix/ws-read-timeout
  • fix_orderstatusvalue
  • halt-trading-method
  • refactor/context
  • refactor/typed-modify-order-request
  • refactor/ws
  • remove-dispatch-pong-err-log
  • set-oracle
  • test/apiresponse-unmarshal
  • test/exchange-orders-cancelbycloid
  • test/meta-methods

07 Apr 2026 03:08PM UTC coverage: 18.601% (+0.03%) from 18.574%
24088764453

push

github

web-flow
fix: parse collateralToken from meta response (#147)

parseMetaResponse was not extracting the collateralToken field from the
API response, causing Meta.CollateralToken to always be 0 (USDC).
Builder dexes with non-USDC collateral (e.g. USDH at token index 360)
were incorrectly reported as using USDC.

The Hyperliquid API returns collateralToken in both the "meta" and
"metaAndAssetCtxs" responses. This fix ensures the field is properly
parsed and populated in the Meta struct.

Co-authored-by: boyi <boyi@chunyu.me>

9 of 9 new or added lines in 1 file covered. (100.0%)

3864 of 20773 relevant lines covered (18.6%)

347.91 hits per line

Relevant lines Covered
Build:
Build:
20773 RELEVANT LINES 3864 COVERED LINES
347.91 HITS PER LINE
Source Files on master
  • Tree
  • List 39
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24088764453 master fix: parse collateralToken from meta response (#147) parseMetaResponse was not extracting the collateralToken field from the API response, causing Meta.CollateralToken to always be 0 (USDC). Builder dexes with non-USDC collateral (e.g. USDH at to... push 07 Apr 2026 03:09PM UTC web-flow github
18.6
24027878031 master deps(deps): bump github.com/ethereum/go-ethereum from 1.17.1 to 1.17.2 (#146) Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.17.1 to 1.17.2. - [Release notes](https://github.com/ethereum/go-ethereum/releas... push 06 Apr 2026 10:12AM UTC web-flow github
18.57
23639501554 master fix: L1 signing bug: convertStr16ToStr8 corrupts msgpack pa (#145) push 27 Mar 2026 09:22AM UTC web-flow github
18.57
23138252008 master deps(deps): bump github.com/mailru/easyjson from 0.9.1 to 0.9.2 (#143) Bumps [github.com/mailru/easyjson](https://github.com/mailru/easyjson) from 0.9.1 to 0.9.2. - [Release notes](https://github.com/mailru/easyjson/releases) - [Commits](https://... push 16 Mar 2026 10:07AM UTC web-flow github
18.42
23045023258 master deps(deps): bump github.com/ethereum/go-ethereum from 1.17.0 to 1.17.1 (#138) Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.17.0 to 1.17.1. - [Release notes](https://github.com/ethereum/go-ethereum/releas... push 13 Mar 2026 09:42AM UTC web-flow github
18.42
23044898515 master fix: linting on signing (#141) push 13 Mar 2026 09:38AM UTC web-flow github
18.42
23044799596 master fix: token index build (#140) push 13 Mar 2026 09:36AM UTC web-flow github
18.42
22665382055 master feat: add Cloid and OrigSz fields to OpenOrder struct (#137) * Add Cloid and OrigSz fields to OpenOrder struct * Update easyjson for OpenOrder: add Cloid and OrigSz fields * Regenerate easyjson and fix OpenOrder marshal tests for new fields --... push 04 Mar 2026 10:30AM UTC web-flow github
18.54
22546126226 master feat: signers as DI (#136) push 01 Mar 2026 03:11PM UTC web-flow github
18.52
22302218553 master deps(deps): bump github.com/ethereum/go-ethereum from 1.16.8 to 1.17.0 (#133) Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.16.8 to 1.17.0. - [Release notes](https://github.com/ethereum/go-ethereum/releas... push 23 Feb 2026 10:30AM UTC web-flow github
18.54
See All Builds (247)

Badge your Repo: go-hyperliquid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc