@bonfida/aaob
v0.1.5
Published
Webassembly can be used to deserialize orderbooks. By default only the pure JS methods are available, in order to enable Webassembly:
Downloads
11,130
Readme
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:
Install
wasm-pack
: https://rustwasm.github.io/wasm-pack/installer/Add the following to your
package.json
"dex-wasm": "file:wasm/pkg"
Uncomment the Webassembly methods in
slab.ts
Build the library using
yarn build:node
Run
npm install ./wasm/pkg