Part of an effort at IOG (@Jimbo4350, @palas, and @amesgen) to build Cardano Haskell libraries to Wasm.
Enter the Nix shell of the flake (nix develop), and then run
wasm32-wasi-cabal update
wasm32-wasi-cabal buildwasmtime run "$(env -u CABAL_CONFIG wasm32-wasi-cabal list-bin exe:cardano-wasm | tail -n1)"