Skip to main content

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 automateRegistration step.

Arguments:

import { completeVault, getVaults } from "@intuweb3/web-exp";
let myVaults = getVaults("0x12345_user_address", provider);
//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

\