Merge pull request #398 from IntersectMBO/paweljakubas/expose-wasm-docs
Expose wasm docs better
Expose wasm docs better
This reverts commit 360ad50a1e19b6d97e22cc6b36797ca852adb364.
Bump lodash from 4.17.23 to 4.18.1
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
WASM target: compile cardano-addresses for wasm32-wasi
packages.wasm builds cardano-addresses-wasm.wasm via the FOD pattern: - Phase 1 (FOD): fetch Hackage deps with network access - Phase 2 (pure): build offline with ghc-wasm-meta toolchain Usage: nix build github:paolino/cardano-addresses/001-wasm-target#wasm ls result/cardano-addresses.wasm
packages.wasm builds cardano-addresses-wasm.wasm via the FOD pattern: - Phase 1 (FOD): fetch Hackage deps with network access - Phase 2 (pure): build offline with ghc-wasm-meta toolchain Usage: nix build github:paolino/cardano-addresses/001-wasm-target#wasm ls result/cardano-addresses.wasm
Single cardano-addresses-wasm binary replaces inspect-address.
JSON command dispatch via stdin: {"cmd":"inspect",...} and {"cmd":"derive",...}
Benchmarked at 3-4ms per Shelley call, 13ms for legacy addresses.
Minimal inspect-address executable that reads a Cardano address from stdin and outputs inspection JSON. Compiles to a 5MB .wasm binary. Includes browser/index.html (client-side, no server) and serve.sh.
Vendor ListN, Dictionary, English word list, and main BIP39 module. Replace Basement.String with Text, Offset with Word16, NormalForm with NFData, Vect with Vector. Update Cardano.Mnemonic and all Cardano.Dictionary.* modules. Remove cardano-crypto, basement, foundation from build-depends.
Replace Basement.Compat.Typeable with Data.Typeable, drop Foundation test instances. Wire into Cardano.Address.Crypto facade. Includes ed25519-donna and encrypted_sign C sources.