Function instantiateSecp256k1WasmBytes

  • The most performant way to instantiate secp256k1 functionality. To avoid using Node.js or DOM-specific APIs, you can use instantiateSecp256k1.

    Note, most of this method is translated and boiled-down from Emscripten's preamble.js. Significant changes to the WASM build or breaking updates to Emscripten will likely require modifications to this method.


    • webassemblyBytes: ArrayBuffer

      A buffer containing the secp256k1 binary.

    Returns Promise<Secp256k1Wasm>

Generated using TypeDoc