File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/wasm-sdk/src/state_transitions/identity Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ impl WasmSdk {
28
28
/// * `asset_lock_proof` - The asset lock proof (transaction hex)
29
29
/// * `asset_lock_proof_private_key` - The private key that controls the asset lock
30
30
/// * `public_keys` - JSON array of public keys to add to the identity. Each key object requirements:
31
- /// - ECDSA_SECP256K1 and BLS12_381: Require `privateKeyHex` or `privateKeyWif` for signing
31
+ /// - ECDSA_SECP256K1: Requires `privateKeyHex` or `privateKeyWif` for signing
32
+ /// - BLS12_381: Requires `privateKeyHex` for signing (WIF format not supported)
32
33
/// - ECDSA_HASH160: Accepts either `privateKeyHex` (to derive hash) or `data` field (base64-encoded 20-byte hash)
33
34
///
34
35
/// # Implementation Notes
35
36
///
36
37
/// This function uses SimpleSigner to provide individual signatures for each public key as required.
37
- /// Each ECDSA_SECP256K1 and BLS12_381 key will be signed with its corresponding private key,
38
+ /// Each ECDSA_SECP256K1 key will be signed with its corresponding private key (from privateKeyHex or privateKeyWif),
39
+ /// and each BLS12_381 key will be signed with its corresponding private key (from privateKeyHex only),
38
40
/// ensuring unique signatures per key as required by DPP validation.
39
41
///
40
42
/// # Returns
You can’t perform that action at this time.
0 commit comments