host-chain-core 0.3.6

WASM-compatible DotNS resolution, IPFS fetching, and CAR parsing (async, reqwest + ruzstd)
Documentation

host-chain-core — WASM-compatible portable networking, parsing, and chain types.

Compiles to both native (x86_64, aarch64) and wasm32-unknown-unknown. Uses reqwest as the sole HTTP client: rustls-tls on native, browser fetch() via web-sys on WASM — same Rust code, no JS glue. Uses ruzstd for zstd decompression (pure Rust, no C FFI).

Modules

  • [car] — CARv1 / UnixFS parser (ruzstd for decompression)
  • [chain] — shared chain data types (ChainId, ChainState, etc.)
  • [dotns] — async DOTNS resolution pipeline (reqwest for HTTP)
  • [identity] — async username resolution via Substrate Identity pallet
  • [registry] — genesis-hash-to-ChainId lookup table
  • [state_machine] — generic chain state machine (shared WASM/native)
  • [store] — chain database persistence abstraction