Skip to main content

initEccLib

bitcoinjs-lib v1.0.7


bitcoinjs-lib / initEccLib

Function: initEccLib()

initEccLib(eccLib): void

Defined in: ts_src/ecc_lib.ts:13

Initializes the ECC library with the provided instance. If eccLib is undefined, the library will be cleared. If eccLib is a new instance, it will be verified before setting it as the active library.

Parameters

eccLib

The instance of the ECC library to initialize.

undefined | TinySecp256k1Interface

Returns

void