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

Function get_ecdsa_public_key

rust/basic_bitcoin/src/ecdsa.rs:21–46  ·  view source on GitHub ↗

Retrieves the ECDSA public key for the given derivation path from the ECDSA API. This function checks the local in-memory cache first. If no cached key exists, it queries the ECDSA API for the public key at the given derivation path and stores the result in the cache.

(ctx: &BitcoinContext, derivation_path: Vec<Vec<u8>>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

send_from_p2wpkh_addressFunction · 0.50
get_p2pkh_addressFunction · 0.50
get_p2wpkh_addressFunction · 0.50
send_from_p2pkh_addressFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected