16 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 05fdd58377 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, and
next below 16.3 wants typescript/lib/typescript.js, which the native compiler
does not ship: the check fails and next shells out to `pnpm add typescript`
mid-build, which a frozen lockfile or an offline runner turns into a failed
build. So 7.0.2 comes in aliased as tsgo and does the typechecking, and
typescript stays on the 6 line for next. The docs site: 10 diagnostics before and after.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:39:33 -07:00
zeekayandHanzo Dev 77e3759c2f Compile with TypeScript 7
typescript 7.0.2 is the native compiler, so this is a pin and not a second
toolchain. The docs site typecheck (new script, tsc --noEmit): 10 diagnostics
before and after. TS7 no longer resolves a bare CSS side-effect import, so
css.d.ts declares '*.css'; that is free on the old compiler.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:19:50 -07:00
zeekayandHanzo Dev 2d0c1c229f docs: describe hanzoai/base as an application framework
Co-authored-by: Hanzo Dev <[email protected]>
2026-09-11 00:31:17 -07:00
zeekay e2c128f306 feat(indexer): update RPC endpoints to /v1/chain 2026-09-04 14:42:46 -07:00
zeekay 9483d71f42 every Hanzo dependency is the version npm serves
Ranges drift once nothing moves them: a caret that has not been rewritten
since it was written pins whatever was current that day, and an exact pin
cannot even take a patch. Both are updated here.

One line per package, so a surface reads the same components, the same
tokens and the same face as every other one.
2026-09-01 16:08:04 -07:00
zeekay 5f5211929a docs: chain routes are /v1/chain
luxd serves chain APIs under one segment from constants.ChainAliasPrefix
(constants v1.6.4, node v1.36.181):

  /v1/bc/<alias>/...   -> /v1/chain/<alias>/...
  /ext/bc/<alias>/...  -> /v1/chain/<alias>/...

Observations keep their original addresses: a dated note or a recorded status
code is a fact about when it was written, not an instruction to follow.
2026-08-30 16:41:57 -07:00
zeekay 0d4a268c3a style(docs): swap the geist-named font tokens for Zen 2026-08-23 15:02:00 -07:00
zeekayandHanzo Dev f4d8b7a114 rpc: finish the /v1/ sweep, and stop sending Avalanche to /v1/
luxd serves exactly one HTTP prefix -- server/http/server.go:33 sets
baseURL = "/v1" and every route derives from it -- so /ext/* 404s on any
luxd. Avalanche is the mirror image: api.avax.network really does serve
/ext/bc/C/rpc, and pointing it at /v1/ breaks it.

31a1ee7 converted README.md only. This finishes the job and corrects the
overshoot in the same pass:

  config/chains.yaml     sparklepony, testnet.sparklepony, pars,
                         testnet.pars  ->  /v1/   (luxd hosts)
                         avax stays on /ext/
  chains.example.yaml    avax stays on /ext/
  docs/configuration.mdx LUX_{C,P,X}_RPC and the c/p/x_chain block, all
                         127.0.0.1:9630 and :9650 luxd  ->  /v1/
  docs/index.mdx         localhost:9650 and api.lux.network  ->  /v1/

Measured, positive and negative control per host:
  api.lux.network/v1/bc/C/rpc  -> 200 0x17871    /ext -> 404
  api.pars.network/v1/bc/C/rpc -> 200 0x78d65    /ext -> 404
  api.lux-test.network/v1/...  -> 200 0x17870    /ext -> 404

evm/transport/transport_test.go is deliberately left at HEAD. Its
isLuxdEndpoint gate is literally strings.Contains(endpoint, "/v1/"), so
the table is /v1/ throughout by design.

go test ./evm/transport/... ok 15.429s. Both YAML files parse. This repo
does NOT build before this change -- cmd/indexerd fails at link with
duplicate sqlite3 symbols, verified identical with these changes stashed
-- so nothing here is tagged.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 18:35:56 -07:00
zeekay a534262058 scrub branding + corona→corona (OSS brand hygiene) 2026-06-10 23:41:10 -07:00
zeekay 95c1f0f091 indexer: scrub Avalabs IP brand refs 2026-05-05 16:23:12 -07:00
zeekay 7d2c025b5b feat: unified explorer — chi refactor, graph merge, slug validation, /v1/explorer 2026-03-01 18:00:00 -08:00
zeekay cc58393bdf feat: update docs app 2025-12-31 22:21:34 -08:00
zeekay 6fa12867f5 chore(docs): update config files after fumadocs build
- Update next-env.d.ts types
- Update tsconfig.json jsx setting to react-jsx
- Add postcss.config.mjs for Tailwind CSS v4
2025-12-25 21:58:53 -08:00
zeekay b5827d574b feat(docs): migrate to fumadocs-ui with Tailwind CSS v4
- Replace @hanzo/mdx with fumadocs-core, fumadocs-mdx, fumadocs-ui
- Update all components to use fumadocs imports
- Upgrade to Tailwind CSS v4 with @tailwindcss/postcss
- Update Next.js to 15.5.9 (patched version)
- Add fumadocs-ui CSS imports and theme configuration
2025-12-25 21:22:33 -08:00
zeekay 6387fe7c53 feat: complete indexer with E2E tests, CI workflow, and documentation
Major additions:

E2E Test Suite:
- 65 tests passing against live luxd node
- Tests for C-Chain, P-Chain, X-Chain indexing
- Client helpers for RPC communication
- Funding and genesis verification tests

EVM Indexer (Full Blockscout Parity):
- REST API v2 with ~50 endpoints
- GraphQL schema with playground
- WebSocket subscriptions (4 types)
- Contract verification and proxy detection
- Account system with API keys
- DeFi protocol indexing (AMM, perps, staking, bridge)
- Search functionality (full-text + fuzzy)

Storage Layer:
- Unified two-layer architecture (KV + Query)
- SQLite default, PostgreSQL optional
- Build tags for backend selection
- Migrations for schema management

Chain Adapters:
- All chain adapters with comprehensive tests
- P-Chain validator tracking
- X-Chain DAG support
- K-Chain key management
- Bridge chain support

CI/CD:
- GitHub Actions workflow for builds
- Cross-platform binaries (linux/darwin/windows, amd64/arm64)
- Docker image publishing
- Automated releases on tags

Documentation:
- Fumadocs-based docs site
- Configuration guide
- Storage backend guide
- DeFi indexing guide
- API reference
2025-12-25 20:48:48 -08:00
zeekay 6f4e39ea5c Add new indexer docs 2025-12-24 14:30:10 -08:00