I found that there is no schnnor related API in the latest(0.16.0) ic_cdk source code.
There is just ic_cdk::api::management_canister::ecdsa
.
So are there any plans for the Dfinity Team to integrate the schnnor API with ic_cdk?
It’s already in the repo, see e.g. here. It just hasn’t landed in a released version yet
Good! So do you have a roadmap or when do you plan to release the schnnor version cdk_rs?
No idea. @lwshang, any plans to release the cdk again soon?
But feel free to link to the repo as a dependency. We only put stuff on main
that we would be willing to release
Hi there, I tried the schnorr_public_key
interface defined in the ic_cdk main branch, but nothing printed out(the result prints as follows).
So, is it a bug?
key_name: “test_key_1”
derivation_path = vec![vec!]
schnnor id: Bip340secp256k1
2024-10-21 11:37:06.631106 UTC: [Canister bkyz2-fmaaa-aaaaa-qaaaq-cai] key name “test_key_1”
2024-10-21 11:37:06.631106 UTC: [Canister bkyz2-fmaaa-aaaaa-qaaaq-cai] arg SchnorrPublicKeyArgument { canister_id: None, derivation_path: [], key_id: SchnorrKeyId { algorithm: Bip340secp256k1, name: “test_key_1” } }
2024-10-21 11:37:06.631106 UTC: [Canister bkyz2-fmaaa-aaaaa-qaaaq-cai] schnnor key SchnorrPublicKeyResponse { public_key: , chain_code: }
(record { public_key = blob “”; chain_code = blob “” })