MCPcopy Create free account
hub / github.com/dfinity/examples / sign_with_ecdsa

Function sign_with_ecdsa

rust/basic_bitcoin/src/ecdsa.rs:51–69  ·  view source on GitHub ↗

Signs a 32-byte message hash using the ECDSA key derived from the given path. This function uses the ICP ECDSA signing API to produce a compact, 64-byte signature.

(
    key_name: String,
    derivation_path: Vec<Vec<u8>>,
    message_hash: Vec<u8>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

signFunction · 0.85
sign_message_with_ecdsaFunction · 0.85
sign_with_ecdsaMethod · 0.85
signMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected