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-exp";
let myVaults = getVaults("0x12345_user_address", provider);
//whichever vault address you need to interact with in myvaults
//example, myVaults[0].vaultAddress;
await registerAllSteps(vaultAddress, signer);
Input | Type | Description |
---|---|---|
vaultAddress | number | Address of the vault |
signer | Object | Signer object acquired from ethers or equivalent |