Documentation on @fireblocks/ncw-js-sdk

In the NCW React Demo App the lib @fireblocks/ncw-js-sdk is used. Is there any documentation available for that lib?

Hi Jarl,
Yes, we do.
Please check out these articles

The first is only version information, the second is about the node-js lib. I looked at the code of this last lib, but couldn’t find the functions that would be needed for NCW in the frontend (like e.g. the FireblocksNCW object). Maybe I’m overlooking it, but can’t find it?

It does please check out this JS file.

You can also check the open API spec

I am still confused. If I interpret correct, the above are for the backend functionality for NCW at Fireblocks (either via SDK or direct via API).

Looking at the ncw-web-demo, I need a class ‘FireblocksNCW’ with the following functions:

FireblocksNCW.initialize(…)
fireblocksNCW.backupKeys(passphrase, passphraseId)
fireblocksNCW.recoverKeys(passphraseResolver)
fireblocksNCW.getKeysStatus()
fireblocksNCW.clearAllStorage()
fireblocksNCW.getKeysStatus()
fireblocksNCW.signTransaction(txId)
fireblocksNCW.stopInProgressSignTransaction()
fireblocksNCW.generateMPCKeys(ALGORITHMS)
fireblocksNCW.stopMpcDeviceSetup()
fireblocksNCW.takeover()
fireblocksNCW.exportFullKeys(chainCode, cloudKeyShares)
fireblocksNCW.deriveAssetKey(extendedPrivateKey, coinType, account, change, index)
fireblocksNCW.dispose()

These are part of (via npmjs) @fireblocks/ncw-js-sdk. There is no source code available for this, and I can also not find documentation, but it is used in the ncw-web-demo, to demonstrate the NCW functionality in the end-user-device