Try it Live
Run ENS examples in the interactive playground
ENS and WASM
Status
The TypeScript Ens module has no WASM entry point. There is noEns export from @tevm/voltaire/wasm, no *.wasm.ts file for Ens, and no Ens function in the WASM loader or the C API.
The Zig package (
voltaire-zig) contains an ENS module at src/primitives/Ens/ens.zig built on z-ens-normalize. It is not exported through c_api.zig and is not reachable from TypeScript.
Using WASM keccak256 for hashing
TheNamehash and Labelhash factories accept any (data: Uint8Array) => Uint8Array keccak256 function. Keccak256Wasm.hash from @tevm/voltaire/wasm matches that signature:
Keccak256Wasm.hash throws WASM not initialized. Call Keccak256Wasm.init() first. if you call it before init() resolves. Normalization still runs in JavaScript.
See Also
- ENS Overview
- Encoding -
NamehashandLabelhashfactories - Keccak256 Implementations - JS, WASM, and native keccak256
- WASM - Loading Voltaire’s WASM build

