0.0.4 • Published 2 years ago

@magiceden/aaob v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Asset Agnostic Orderbook JS library

Webassembly can be used to deserialize orderbooks. By default only the pure JS methods are available, in order to enable Webassembly:

  1. Install wasm-pack: https://rustwasm.github.io/wasm-pack/installer/

  2. Add the following to your package.json

 "dex-wasm": "file:wasm/pkg"
  1. Uncomment the Webassembly methods in slab.ts

  2. Build the library using yarn build:node

  3. Run npm install ./wasm/pkg