Function: add()
> add(...commitments): void
Defined in: src/registries/RegisteredCommitments.ts:27
Save a commitment in the registered commitments. If the commitment already exists, it will be overwritten.
Parameters
commitments
...(CommitmentInterface | CommitmentInterface[])[]
The commitment to save.
Returns
void