ReadonlyaccountThe Salt account ID, available immediately after vault deployment.
StaticprefixedOptionalcontext: anyCalls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the listeners registered for a given event.
Optionalfn: (Optionalcontext: anyOptionalonce: booleanAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyRemove the listeners of a given event.
Optionalfn: (Optionalcontext: anyOptionalonce: booleanEnter the MPC huddle, complete key generation, and finalize the vault.
This blocks until all signers have completed the huddle or the timeout is reached.
The finalized account with publicKey set
InsufficientGas if the signer lacks funds for gas
HuddleTimeout if the huddle times out
TransactionError if vault finalization fails
Represents an in-progress account creation. Returned by Salt.createAccount after the vault is deployed and registered, but before the MPC huddle runs.
Call waitForCompletion to enter the huddle, complete key generation, and finalize the vault. If you skip
waitForCompletion, the account is saved on-chain and can be resumed later with Salt.resumeAccountSetup.Extends
EventEmitterfor lifecycle hooks — listen for events with.on()/.once().Example