{"id":48230751,"url":"https://github.com/chase-manning/hyperevm-precompile-ui","last_synced_at":"2026-04-04T19:36:26.386Z","repository":{"id":337448575,"uuid":"1153586654","full_name":"chase-manning/hyperevm-precompile-ui","owner":"chase-manning","description":"A simple UI to query and test HyperEVM Precompiles ","archived":false,"fork":false,"pushed_at":"2026-03-12T16:51:11.000Z","size":1539,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T19:53:52.939Z","etag":null,"topics":["hyper-evm","hyperliquid","hyperliquid-precompiles","react"],"latest_commit_sha":null,"homepage":"https://hyperevm-precompile-ui.chase-63b.workers.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chase-manning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-09T13:24:25.000Z","updated_at":"2026-03-12T16:51:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chase-manning/hyperevm-precompile-ui","commit_stats":null,"previous_names":["chase-manning/hyperevm-precompile-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chase-manning/hyperevm-precompile-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chase-manning%2Fhyperevm-precompile-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chase-manning%2Fhyperevm-precompile-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chase-manning%2Fhyperevm-precompile-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chase-manning%2Fhyperevm-precompile-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chase-manning","download_url":"https://codeload.github.com/chase-manning/hyperevm-precompile-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chase-manning%2Fhyperevm-precompile-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31411306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T19:29:44.979Z","status":"ssl_error","status_checked_at":"2026-04-04T19:29:11.535Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hyper-evm","hyperliquid","hyperliquid-precompiles","react"],"created_at":"2026-04-04T19:36:21.731Z","updated_at":"2026-04-04T19:36:26.365Z","avatar_url":"https://github.com/chase-manning.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperliquid Precompile Explorer\n\nA lightweight web interface for querying read only data from [Hyperliquid precompiles](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/hyperevm/interacting-with-hypercore) on HyperEVM. Input parameters, hit query, and see decoded results instantly.\n\n**Live at [hyperevm-precompile-ui.chase-63b.workers.dev](https://hyperevm-precompile-ui.chase-63b.workers.dev/)**\n\n## What This Does\n\nHyperliquid exposes a set of read precompiles on HyperEVM that let you query HyperCore state: oracle prices, positions, balances, staking info, and more. This app wraps a Solidity contract ([`0x4e4726F2D4F652151Eb80254C2C8859d152382Ce`](https://hyperevmscan.io/address/0x4e4726F2D4F652151Eb80254C2C8859d152382Ce)) that exposes a view function for each precompile, and provides a simple UI to call any of them without writing code.\n\n## Available Queries\n\n| Function                  | Category | Inputs                      |\n| ------------------------- | -------- | --------------------------- |\n| `getL1BlockNumber`        | System   | None                        |\n| `getCoreUserExists`       | User     | address                     |\n| `getWithdrawable`         | User     | address                     |\n| `getOraclePx`             | Perps    | perp index                  |\n| `getMarkPx`               | Perps    | perp index                  |\n| `getBbo`                  | Perps    | asset index                 |\n| `getPerpAssetInfo`        | Perps    | perp index                  |\n| `getPosition`             | Perps    | address, perp index         |\n| `getAccountMarginSummary` | Perps    | dex index, address          |\n| `getSpotBalance`          | Spot     | address, token index        |\n| `getSpotInfo`             | Spot     | spot index                  |\n| `getSpotPx`               | Spot     | spot index                  |\n| `getTokenInfo`            | Spot     | token index                 |\n| `getTokenSupply`          | Spot     | token index                 |\n| `getUserVaultEquity`      | Vaults   | user address, vault address |\n| `getDelegations`          | Staking  | address                     |\n| `getDelegatorSummary`     | Staking  | address                     |\n\n## Tech Stack\n\n- **React 19** + **TypeScript** with Vite\n- **viem** for contract reads against HyperEVM (chain ID 999, RPC `https://rpc.hyperliquid.xyz/evm`)\n- **shadcn/ui** + **Tailwind CSS v4** for styling\n- **Cloudflare Workers** for hosting\n\n## Development\n\n```bash\nyarn install\nyarn dev\n```\n\nBuild for production:\n\n```bash\nyarn build\n```\n\n## Project Structure\n\n```\nsrc/\n  config/\n    client.ts          # viem public client for HyperEVM\n    contract.ts        # Contract ABI and address\n  components/\n    PrecompileCard.tsx  # Card with inputs, query button, result display\n    ResultDisplay.tsx   # Recursive renderer for contract return values\n    ui/                 # shadcn/ui components\n  hooks/\n    use-theme.ts       # Light/dark mode with system preference detection\n  App.tsx              # Main app with all 17 precompile configs\n  main.tsx             # Entry point\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchase-manning%2Fhyperevm-precompile-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchase-manning%2Fhyperevm-precompile-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchase-manning%2Fhyperevm-precompile-ui/lists"}