The private key to be splited with Shamir algorithm.
Account owner of the private key to split (keyring) or address (string) .
The Capsule NFT id or Secret NFT id to link to the private key.
The kind of nft linked to the key to upload: "secret" or "capsule".
Optional
extensionInjector: Record<string, any>(Optional)The signer method retrived from your extension to sign the transaction. We recommand Polkadot extention: object must have a signer key.
(Optional)The TEE Cluster id. Default is set to cluster id 0.
Generated using TypeDoc
Name
prepareAndStoreKeyShares
Summary
Splits the private key into shards, format and send them for upload on to a Tee Cluster.
Returns
The TEE enclave response (shards datas and description).