@bitgo/sdk-opensslbytes

v2.0.0
Split package for WASM code needed by sdk-lib-mpc

@bitgo/sdk-opensslbytes

Isolated module for users of the BitGo SDK that need to generate range proofs or recover funds on a TSS wallet.

Installation

npm i @bitgo/sdk-api @bitgo/sdk-lib-mpc @bitgo/sdk-opensslbytes

Import the openSSLBytes from this module & pass to related functions that expect it:

import { loadWebAssembly } from '@bitgo/sdk-opensslbytes';
import { EcdsaRangeProof } from '@bitgo-beta/sdk-lib-mpc';

const openSSLBytes = loadWebAssembly().buffer;

const nTilde = await EcdsaRangeProof.generateNtilde(openSSLBytes, 3072);
npm i @bitgo/sdk-opensslbytes

Metadata

  • MIT
  • Whatever
  • BitGo SDK Team
  • released 8/20/2024

Downloads