The Honeycomb instance to use for the operation.
The arguments required to create the operation.
An object containing the operation for profile deletion.
const honeycomb = new Honeycomb(connection);
const profile = await honeycomb.identity().profile();
// Create CreateDeleteProfile operation.
const operationArgs: CreateDeleteProfileOperationnArgs = {
profile: profile,
};
const { operation } = await createDeleteProfileOperation(honeycomb, operationArgs);
// Execute the operation.
await operation.send();
console.log("Profile deleted successfully.");
Generated using TypeDoc
This function creates a CreateDeleteProfile operation using the specified Honeycomb instance and the provided arguments. The operation is used to delete an existing profile from the associated HoneycombProject.
The function calculates the DID data public key using the user's address and the DID_SOL_PROGRAM.