From f100b30d359eb7284600837913a9eb349fd7f89d Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Mon, 6 Jan 2025 08:40:14 -0600 Subject: [PATCH] Update rust/threshold-schnorr/README.md --- rust/threshold-schnorr/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust/threshold-schnorr/README.md b/rust/threshold-schnorr/README.md index 670fbda0a..63ae4d1ab 100644 --- a/rust/threshold-schnorr/README.md +++ b/rust/threshold-schnorr/README.md @@ -108,6 +108,10 @@ There are four options that are planed to be supported: * `test_key_1`: a master **test** key ID that is used in mainnet. * `key_1`: a master **production** key ID that is used in mainnet. +For example, the default code in `src/schnorr_example_rust/src/lib.rs` derives +the key ID as follows and can be deployed locally: +`SchnorrKeyIds::TestKeyLocalDevelopment.to_key_id(algorithm)` + IMPORTANT: To deploy to IC mainnet, one needs to replace `"dfx_test_key"` with either "test_key_1"` or `"key_1"` depending on the desired intent. Both uses of key ID in `src/schnorr_example_rust/src/main.mo` must be consistent.