0.1.5 • Published 1 year ago

@bonfida/aaob v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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