registerAllSteps


  • This is to be used only if you have used the automaticRegistration function This endpoint needs to be hit by each user to store their key share, encrypted, on chain.

This step requires that all the other participants have performed and completed (all the way to the end) the automaticRegistration step.

Arguments:

import { registerStep1, getVaults } from "@intuweb3/web";
let myVaults = getVaults("0x12345", signer);
//whichever vault address you need to interact with in myvaults
//example, myVaults[0].vaultAddress;
await registerAllSteps(vaultAddress, signer);
InputTypeDescription
vaultAddressnumberAddress of the vault
signerObjectSigner object acquired from ethers or equivalent