Skip to main content

LSP23LinkedContractsFactory

deployUniversalProfile

deployUniversalProfile(signer, mainController, additionalDataKeys, additionalDataValues, additionalControllers, salt?): Promise<{ keyManagerAddress: string ; universalProfileAddress: string }>

Deploy Universal Profile with Key Manager using LSP23 Linked Contracts Factory.

Parameters

NameTypeDescription
signerSigner | WalletThe signer used to deploy the contracts, needs to have native token for gas fees.
mainControllerBytesLikeThe main controller for the Unviersal Profile.
additionalDataKeysBytesLike[]Data keys that you want to set on deployment.
additionalDataValuesBytesLike[]Data values that you want to set on deployment.
additionalControllersLSP6Controller[]Additional controllers for the deployed Universal Profile.
salt?BytesLike-

Returns

Promise<{ keyManagerAddress: string ; universalProfileAddress: string }>

The addresses of the Universal Profile & Key Manager.

Since

v0.0.2

Defined in

LSP23LinkedContractsFactory/deployUniversalProfile/deployUniversalProfile.ts:34