completeVault


One of the users participants will have to complete the vault to close the creation and registration process of the decentralized MPC account.

This step requires that all the other participants have performed the registerStep3 step.

register-2.md

Arguments:

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

\